How to find image's background area

1 visualización (últimos 30 días)
Andre Luis
Andre Luis el 18 de Mzo. de 2015
Comentada: Image Analyst el 19 de Mzo. de 2015
Hello!
I am new to image processing in Matlab. I need to find the size of the covered area (or the size of empty space) in the following image.
Is it possible?
Thanks in advance.

Respuestas (1)

Image Analyst
Image Analyst el 18 de Mzo. de 2015
The image doesn't seem to exist. Please re-upload it.
In the meantime, see my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  2 comentarios
Andre Luis
Andre Luis el 19 de Mzo. de 2015
Sorry, trying to re-upload.
Actually, I think I got what I wanted using im2bw and bwarea commands.
Image Analyst
Image Analyst el 19 de Mzo. de 2015
What are you defining as "covered" or "empty"? Can you go simply by how dark it is? Like
emptySpace = grayImage < someThresholdValue;
pixelArea = sum(emptySpace); % Area in pixels.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by