what is bwlabel function doing ?
Show older comments
Answers (1)
Image Analyst
on 9 Feb 2019
0 votes
It's giving a unique ID number to every connected blob. If you have two squares just touching at the corner, do you consider that to be just one blob, or two? If it's one blob, then use 8 connectivity. If it's two blobs then use 4 connectivity which says that the blobs need to touch on one of the 4 vertical or horizontal edges, not on one of the corners.
Categories
Find more on Color Segmentation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!