regionpros gives 0 area for a simple binary figure?
1 view (last 30 days)
Show older comments
I have a very simple bw as shown below. But the regionprops gives me lots of 0 area. Code is here

bwnew = imread('oribw.tif');
r_ori = regionprops(bwnew,'boundingbox','area');

The results are shown above. I have all zeros except for the final one. Does any one know why this happens? The original BW is attached as a zip since I could not upload TIF file. Thanks!
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!