フィルターのクリア

four neighbourhoods of a set or matrix

1 回表示 (過去 30 日間)
med-sweng
med-sweng 2014 年 2 月 23 日
コメント済み: Image Analyst 2014 年 3 月 5 日
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.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 2 月 23 日
You can use connected components determination with bwlabel() or bwconncomp().
  8 件のコメント
med-sweng
med-sweng 2014 年 3 月 5 日
編集済み: med-sweng 2014 年 3 月 5 日
Thanks so much for this thorough explanation. Can it be supported by some code that may explain the concept through a simple example? It seems it is getting to the point, but not yet clear much about it. Thanks for your patience. And, is the concept to do with "region growing"?
Image Analyst
Image Analyst 2014 年 3 月 5 日

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by