regionpros gives 0 area for a simple binary figure?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!