how can i label pixels of contour ?

1 回表示 (過去 30 日間)
thoraya
thoraya 2017 年 10 月 5 日
コメント済み: thoraya 2017 年 10 月 6 日
hi, Having a binary image like the attached image which have 3 contours. I need to identify pixels of each contour. So, i want to assign the same label to pixels of each contour. It means that the result image contains 3 contours such that pixels of the first contour have label(=value) equal to 1, pixels of the second one have label 2 and pixels of the last contour have 3. Any suggestion will be appreciated.
thanks !

採用された回答

Walter Roberson
Walter Roberson 2017 年 10 月 5 日
bwlabel()
  1 件のコメント
thoraya
thoraya 2017 年 10 月 6 日
that what i need. thank you very much

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by