How to find out single object in binary image?. & how to calculate area of that single object?
Ältere Kommentare anzeigen
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
Antworten (1)
David Sanchez
am 13 Dez. 2013
Use regionprops :
cc = your binary image;
my_area = regionprops(cc, 'Area'); % this will return the areas of the objects within your image
Kategorien
Mehr zu Region and Image Properties finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!