技术蛀虫

导航

2012年6月7日

matlab连通域处理函数

摘要: 1、 matlab函数bwareaopen──删除小面积对象格式:BW2 = bwareaopen(BW,P,conn)作用:删除二值图像BW中面积小于P的对象,默认情况下使用8邻域。算法:(1)Determine the connected components.L = bwlabeln(BW, conn);(2)Compute the area of each component.S = regionprops(L, 'Area');(3)Remove small objects.bw2 = ismember(L, find([S.Area] >= P));2、mat 阅读全文

posted @ 2012-06-07 14:56 技术蛀虫 阅读(7962) 评论(0) 推荐(0) 编辑