Halcon阈值分割


threshold(Image : Region : MinGray, MaxGray : )

全局阈值分割,用户指定硬阈值

 

binary_threshold(Image : Region : Method, LightDark : UsedThreshold)

全局阈值分割,指定计算阈值

 

fast_threshold(Image : Region : MinGray, MaxGray, MinSize : )

使用全局阈值快速分割

 

auto_threshold(Image : Regions : Sigma : )

先通过高斯滤波对灰度直方图进行平滑,然后计算出极小值点,然后在极小值点处对图像进行分割,Regions数目为minima+1

 

dyn_threshold(OrigImage, ThresholdImage : RegionDynThresh : Offset, LightDark : )

使用局部阈值对图像进行分割,一般ThresholdImage由OrigImage进行平滑滤波得到,滤波模板尺寸越大,则找到的区域越大,一般设置模板尺寸为要提取目标的直径值的2倍。

 

local_threshold(Image : Region : Method, LightDark, GenParamName, GenParamValue : )

局部阈值分割,基于局部的均值和标准差

 

watersheds(Image : Basins, Watersheds : : )

分水岭分割,适用于目标物体具有蜂窝状结构,一般阈值分割前先进行滤波

 

regiongrowing(Image : Regions : Row, Column, Tolerance, MinSize : )

区域生长阈值分割,适用于目标物具有一致的灰度值,一般阈值分割前先进行滤波


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM