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개)

Use regionprops :
cc = your binary image;
my_area = regionprops(cc, 'Area'); % this will return the areas of the objects within your image

카테고리

도움말 센터 및 File Exchange에서 Get Started with Computer 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