Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How to get of some objects in an image?

Subject: How to get of some objects in an image?

From: Kevin Lan

Date: 16 Jan, 2008 01:50:18

Message: 1 of 4

hi everyone!

I have an black-and-white image (strictly black-and-white)
and i would like to get rid of some white dots. they are
big enough that I cannot treat them as noise. I thought
about maybe doing something with the pixels. my background
is black and major objects are white. I just would like to
remove these distracting white dots.

Could anyone tell me how to do that?

Thanks!

Subject: How to get of some objects in an image?

From: Volkan

Date: 16 Jan, 2008 04:16:01

Message: 2 of 4

Hi Kevin,
Try imopen if you have Image Processing Toolbox.

Volkan

Subject: How to get of some objects in an image?

From: Yumnam Kirani Singh

Date: 16 Jan, 2008 04:58:24

Message: 3 of 4

Yes imopen may enable to remove the dots, but in turn it will introduce unwanted distortion in the other objects as well. The best thing is you just identify the size of the object and remove all those objects which are less than the specified size. You can visit the following link in Mathwork blog on removing noises
http://blogs.mathworks.com/steve/2007/12/07/cleaning-up-scanned-text/

Subject: How to get of some objects in an image?

From: Vihang Patil

Date: 16 Jan, 2008 06:21:02

Message: 4 of 4

"Kevin Lan" <kev_dxd@yahoo.com> wrote in message
<fmjnsq$en4$1@fred.mathworks.com>...
> hi everyone!
>
> I have an black-and-white image (strictly black-and-
white)
> and i would like to get rid of some white dots. they are
> big enough that I cannot treat them as noise. I thought
> about maybe doing something with the pixels. my
background
> is black and major objects are white. I just would like
to
> remove these distracting white dots.
>
> Could anyone tell me how to do that?
>
> Thanks!

doc bwareaopen
HTH
Vihang

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us