erode until 1 pixel remains

4 Ansichten (letzte 30 Tage)
Changoleon
Changoleon am 26 Okt. 2016
Kommentiert: Changoleon am 27 Okt. 2016
What is the function that erodes the object all the way until only one pixel remains from that object?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays 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