how can i label pixels of contour ?

2 visualizaciones (últimos 30 días)
thoraya
thoraya el 5 de Oct. de 2017
Comentada: thoraya el 6 de Oct. de 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 !

Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Oct. de 2017
bwlabel()
  1 comentario
thoraya
thoraya el 6 de Oct. de 2017
that what i need. thank you very much

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by