3、形态学处理post
形态学处理以集合运算为基础。对象
腐蚀、膨胀、开操做、闭操做是全部形态学图像处理的基础。blog
开操做(先腐蚀再膨胀)使对象的轮廓变得光滑,断开狭窄的间断和消除细的突出物。ci
闭操做(先膨胀再腐蚀)消弥狭窄的间断和长细的鸿沟,消除小的孔洞,填补轮廓线的断裂。get
形体学基础算子:it
erosion1
dilation1
opening
closingio
经常使用的形态学相关算子
connection
select_shape
opening_circle
closing_circle
opening_rectangle1
closing_rectangle1
complement
difference
intersection
union1
shaps_trans
fill_up图像处理
形态学高级算子:
boundary
skeleton基础
4、特征提取:select
一、区域特征:
area
moments
smallest_rectangle1
smallest_circle
convexity:区域面积与凸包面积的比例
contlength:区域边界的长度
compactness
二、灰度特征
estimate_noise
select_gray
5、输出结果:
(1)获取知足条件的区域
(2)区域分类,好比OCR
(3)测量
(4)质量检测