four neighbourhoods of a set or matrix
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Image Analyst
2014년 2월 23일
You can use connected components determination with bwlabel() or bwconncomp().
댓글 수: 8
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!