How to find out single object in binary image?. & how to calculate area of that single object?
1 次查看(过去 30 天)
显示 更早的评论
Hello,sir/madam i trying to find out the area of single object in binary image and such object is my target to calculate area. so please reply me. thank you
0 个评论
回答(1 个)
David Sanchez
2013-12-13
Use regionprops :
cc = your binary image;
my_area = regionprops(cc, 'Area'); % this will return the areas of the objects within your image
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!