matlab函数bwareaopen matlab函数bwareaopen——删除小面积对象格式:BW2 = bwareaopen(BW,P,conn)作用:删除二值图像BW中相互连接的像素个数小于P的对象,默认情况下conn使用8邻域。