I don’t understand the term/noun ‘label image’ in Matlab, and what’s the normal usage of it? Details would be appreciated. Thanks in advance.
I don’t understand the term/noun ‘label image’ in Matlab, and what’s the normal usage
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume you are referring to the label image or label matrix produced by functions such as
bwlabel, orbwconncompandlabelmatrix.The label matrix takes each connected component, that is each separate region of ON pixels, in a binary image and assigns it a unique integer “label.”
For example, the binary image given by this matrix:
Would become this label matrix:
These are very useful functions for dealing with individual regions in binary images. I often use patterns like:
or