How to find image's background area
Show older comments
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.
Answers (1)
Image Analyst
on 18 Mar 2015
0 votes
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 Comments
Andre Luis
on 19 Mar 2015
Image Analyst
on 19 Mar 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.
Categories
Find more on Image Segmentation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!