erode until 1 pixel remains

What is the function that erodes the object all the way until only one pixel remains from that object?

 采纳的回答

Chaya N
Chaya N 2016-10-26

0 个投票

The function bwmorph with the 'shrink' option perhaps.

1 个评论

Hey you are right,
BW2 = bwmorph(BW,'shrink',Inf); does the job, thank you

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Time Series 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by