How to find out single object in binary image?. & how to calculate area of that single object?

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

回答 (1 件)

David Sanchez
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

カテゴリ

ヘルプ センター および File ExchangeComputer Vision Toolbox についてさらに検索

質問済み:

2013 年 12 月 13 日

回答済み:

2013 年 12 月 13 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by