Show connected component's label on the image

I used CC = bwconncomp(binaryImage); How can I display on my image the 'labels' or serial numbers of each connected component next to each connected component ? And in general, how can I write some text next to each CC ? Thanks

Answers (1)

You have to look into text command to input text on the plots/ images.

Categories

Asked:

on 5 Jan 2017

Answered:

on 6 Jan 2017

Community Treasure Hunt

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

Start Hunting!