how to numbering the objects in the binary image ?

the image which is binary has black (or white) objects and i want to number each black objects so that number should be displayed on the object(with particular color) and also to find the area of the black objects in the image.
i had attached the image to show how the result image should be

카테고리

도움말 센터 및 File Exchange에서 Lidar Toolbox에 대해 자세히 알아보기

질문:

2014년 2월 17일

답변:

2014년 2월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by