Got Questions? Get Answers.
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:
black and white image interpreting

Subject: black and white image interpreting

From: Andrew

Date: 1 Nov, 2010 19:18:05

Message: 1 of 3

I have a black and white 320x320 image file that I need to find where the pixels go from black to white (it's a black background with a white image). I then need to graph the outline that is produced. I am a new user to MatLab and am really having trouble understanding the complexities of MatLab, so if you could give an answer in simple terms it would help me out a lot.

Subject: black and white image interpreting

From: Sean

Date: 1 Nov, 2010 20:40:09

Message: 2 of 3

"Andrew " <awfisher42@gmail.com> wrote in message <ian3pc$bbj$1@fred.mathworks.com>...
> I have a black and white 320x320 image file that I need to find where the pixels go from black to white (it's a black background with a white image). I then need to graph the outline that is produced. I am a new user to MatLab and am really having trouble understanding the complexities of MatLab, so if you could give an answer in simple terms it would help me out a lot.

So you need to find the perimeter of a black and white (bw) image?
help bwperim
then
imshow
to display the result.

Subject: black and white image interpreting

From: ImageAnalyst

Date: 1 Nov, 2010 20:45:26

Message: 3 of 3

Andrew :
Try my image segmentation demo.
http://www.mathworks.com/matlabcentral/fileexchange/25157

It does exactly that. It finds the boundaries of bright coins on a
dark background. It binarizes (thresholds) the images and then calls
bwboundaries, among other things. Then the boundaries (outlines of
the coins) are overlaid on the original image.
ImageAnalyst

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