Matlab中bwmorph函数在提取二进制图像的轮廓
Matlab中bwmorph函数在提取二进制图像的轮廓如下:
语法: BW2 = bwmorph(BW1,operation) ;
BW2 = bwmorph(BW1,operation,n) ; n为次数;
Operation的参数可以有多种选择,现归纳如下:
‘bother’:闭包运算,即先腐蚀,在膨胀,然后减去原图像;
‘bridge’:做连接运算;
‘clean’:去
原创
2012-12-26 20:58:25 ·
1743 阅读 ·
0 评论