MATLAB图像处理中查找连通域边界的函数是什么

MATLAB图像处理中查找连通域边界的函数是什么,第1张

bwboundaries
不会吧,这个函数都没有么?默认应该都有图像处理工具箱啊,除非你安装时没有装这个工具箱,下面是我从帮助中复制的
Image Processing Toolbox bwareaopen bwdist
Provide feedback about this page
bwboundaries
Trace region boundaries in binary image
Syntax
B = bwboundaries(BW)
B = bwboundaries(BW,conn)
B = bwboundaries(BW,conn,options)
[B,L] = bwboundaries()
[B,L,N,A] = bwboundaries()
Description
B = bwboundaries(BW) traces the exterior boundaries of objects, as well as boundaries of holes inside these objects, in the binary image BW bwboundaries also descends into the outermost objects (parents) and traces their children (objects completely enclosed by the parents) BW must be a binary image where nonzero pixels belong to an object and 0 pixels constitute the background The following figure illustrates these components


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/13353972.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-07-20
下一篇 2023-07-20

发表评论

登录后才能评论

评论列表(0条)

保存