How to find image's background area
1 回表示 (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (1 件)
Image Analyst
2015 年 3 月 18 日
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 件のコメント
Image Analyst
2015 年 3 月 19 日
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.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!