5.18 图像填充及Blob流程总结
*获取图片
read_image (Image, 'monkey')
*图像二值化
threshold (Image, Region, 128, 255)
*填充 有条件
fill_up_shape (Region, RegionFillUp, 'area', 1, 0100)
read_image (Image1, 'egypt1')
threshold (Image1, Region1, 0, 140)
*无条件填充
fill_up (Region1, RegionFillUp1)
*通用流程:
*采集图像
*有无判断
*1、Blob流程:图像分割(阈值分割)>>形态学(膨胀、腐蚀) 形式判断有无>>连通性分析>>填充>>特征提取
*2、定位判断有无
*获取位置和角度信息
*仿射变换
*图像预处理
*图像处理
*结果输出
*联合编程C#
浙公网安备 33010602011771号