erode until 1 pixel remains

4 次查看(过去 30 天)
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
The function bwmorph with the 'shrink' option perhaps.
  1 个评论
Changoleon
Changoleon 2016-10-27
Hey you are right,
BW2 = bwmorph(BW,'shrink',Inf); does the job, thank you

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by