Filter löschen
Filter löschen

how can i label pixels of contour ?

2 Ansichten (letzte 30 Tage)
thoraya
thoraya am 5 Okt. 2017
Kommentiert: thoraya am 6 Okt. 2017
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 !

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 5 Okt. 2017
bwlabel()
  1 Kommentar
thoraya
thoraya am 6 Okt. 2017
that what i need. thank you very much

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by