erode until 1 pixel remains

7 vues (au cours des 30 derniers jours)
Changoleon
Changoleon le 26 Oct 2016
Commenté : Changoleon le 27 Oct 2016
What is the function that erodes the object all the way until only one pixel remains from that object?

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by