erode until 1 pixel remains

7 visualizaciones (últimos 30 días)
Changoleon
Changoleon el 26 de Oct. de 2016
Comentada: Changoleon el 27 de Oct. de 2016
What is the function that erodes the object all the way until only one pixel remains from that object?

Respuesta aceptada

Chaya N
Chaya N el 26 de Oct. de 2016
The function bwmorph with the 'shrink' option perhaps.
  1 comentario
Changoleon
Changoleon el 27 de Oct. de 2016
Hey you are right,
BW2 = bwmorph(BW,'shrink',Inf); does the job, thank you

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image 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