four neighbourhoods of a set or matrix
1 view (last 30 days)
Show older comments
It may be clear when you need to check if some pixels are neighbours to a specific region you are interested in in some image.
But, when asked to find the pixels that are considered 4-neighbourhood to some set or matrix, how can we do that?
Thanks.
0 Comments
Answers (1)
Image Analyst
on 23 Feb 2014
You can use connected components determination with bwlabel() or bwconncomp().
8 Comments
See Also
Categories
Find more on Image Processing Toolbox 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!