一、预处理:(拉开对比度)
预处理手法汇总(拉开对比度):
差分高斯- diff_of_gauss 衍生高斯 拉普拉斯高斯 laplace_of_gauss
拆通道- decompose3 颜色模型转换 trans_from_rgb
灰度形态学- gray_closing 灰度闭运算-增加亮像素区域 gray_opening 灰度开运算-增加暗像素区域
差分(sub_image 图像的算术运算)
频域 光度立体 纹理滤波 图像逻辑运算
灰度变换(线性- scale_image 对数- log_image 指数- exp_image )
增强(emphasize dots_image abs_image )
直方图均衡 equ_histo_image 光照均衡 illuminate 边缘图像 edges_image
分割(分水岭域watersheds_threshold 种子生长regiongrowing )
二值化
threshold 全局阈值 binary_threshold 黑白分明时二值化 dyn_threshold动态阈值
var_threshold局部均值方差二值化 threshold_sub_pix 阈值分割
fast_threshold 快速 auto_threshold 自动阈值 dual_threshold 符号阈值
local_threshold 局部阈值 hysteresis_threshold 滞后阈值 char_threshold 提取暗字符
三、增加减少区域像素
增加减少区域像素:区域形态学 rank_region expand_gray_ref(根据灰度值情况进行区域扩展)