# 光条中心提取算法——steger算法（Hessian矩阵）的代码实现

OpenCV 专栏收录该内容
3 篇文章 0 订阅

https://github.com/allen52/Hessian-steger/tree/master/Hessian-steger

https://github.com/thorstenwagner/ij-ridgedetection/tree/master/src/main/java/de/biomedical_imaging/ij/steger

https://github.com/jalmar/CurveTracing/tree/master/source/stegers

https://www.mvtec.com/doc/halcon/1905/en/lines_gauss.html

Pixels which exhibit a local maximum in the second directional derivative perpendicular to the line direction are marked as line points. The line points found in this manner are then linked to contours. This is done by immediately accepting line points that have a second derivative larger than High. Points that have a second derivative smaller than Low are rejected.

For the choice of the thresholds High and Low one has to keep in mind that the second directional derivative depends on the amplitude and width of the line as well as the choice of Sigma. The value of the second derivative depends linearly on the amplitude, i.e., the larger the amplitude, the larger the response. For the width of the line there is an approximately inverse exponential dependence: The wider the line is, the smaller the response gets. This holds analogously for the dependence on Sigma: The larger Sigma is chosen, the smaller the second derivative will be. This means that for larger smoothing correspondingly smaller values for High and Low have to be chosen. Two examples help to illustrate this: If 5 pixel wide lines with an amplitude larger than 100 are to be extracted from an image with a smoothing of Sigma = 1.5, High should be chosen larger than 14. If, on the other hand, 10 pixel wide lines with an amplitude larger than 100 and a Sigma = 3 are to be detected, High should be chosen larger than 3.5. For the choice of Low values between 0.25 High and 0.5 High are appropriate.

Low (input_control)

Lower threshold for the hysteresis threshold operation.

Default value: 3

Suggested values: 0, 0.5, 1, 2, 3, 4, 5, 8, 10

Typical range of values: 0 ≤ Low ≤ 20

Recommended increment: 0.5

Restriction: Low >= 0

High (input_control)

Upper threshold for the hysteresis threshold operation.

Default value: 8

Suggested values: 0, 0.5, 1, 2, 3, 4, 5, 8, 10, 12, 15, 18, 20, 25

Typical range of values: 0 ≤ High ≤ 35

Recommended increment: 0.5

Restriction: High >= 0 && High >= Low

• 1
点赞
• 2
评论
• 20
收藏
• 一键三连
• 扫一扫，分享海报

01-15
11-30
12-06
01-18 1154
03-13 1万+
08-03
10-19