hysteresis_threshold

原型

hysteresis_threshold(Image : RegionHysteresis : Low, High, MaxLength : )

功能

对图像执行滞后阈值操作

参数列表

Image (input_object) :输入图像
RegionHysteresis (output_object) :滞后阈值操作分割后Region
Low (input_control) :设置的低阈值
High (input_control) :设置的高阈值
MaxLength (input_control) :官方解释:Maximum length of a path of “potential” points to reach a “secure” point.字面翻译:“安全”点和“潜在”点路径的最大长度。我的理解如下:

详解

滞后阈值对图像执行滞后阈值操作(滞后阈值由Canny引入)出自:J. Canny, “Finding Edges and Lines in Images”; Report, AI-TR-720, M.I.T. Artificial Intelligence Lab., Cambridge, MA, 1983.如果有精力可以参考论文。
图像上的灰度值>=High分割的RegionsOut(“secure” points)直接作为结果输出;相反,如果灰度值<Low分割的RegionsLow被直接舍弃;灰度值介于两者之间,对于分割后的每个Region(“potential” ),如果与RegionsOut的距离小于MaxLength 值,那么这个region就被当做RegionsOut一起输出,也就是说最初分割的RegionsOut会影响最终的输出结果。
在line_gauss算子中的应用https://blog.csdn.net/qq_18620653/article/details/105446922

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐