Need short one sentence explanaion on bwmorph

1 view (last 30 days)
Hey, I was wondering if anyone could explain simply how bwmorph( , 'remove') decides what is an interior pixel to remove. I looked through mathworks and couldn't find it.
Thanks in advance

Accepted Answer

Cris LaPierre
Cris LaPierre on 27 Mar 2020
Did you try the documentation?
"Removes interior pixels. This option sets a pixel to 0 if all its 4-connected neighbors are 1, thus leaving only the boundary pixels on."

More Answers (0)

Community Treasure Hunt

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

Start Hunting!