erode until 1 pixel remains

4 visualizzazioni (ultimi 30 giorni)
Changoleon
Changoleon il 26 Ott 2016
Commentato: Changoleon il 27 Ott 2016
What is the function that erodes the object all the way until only one pixel remains from that object?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by