#5065·kornia

conv_quad_interp3d / iterative_quad_interp3d 会拒绝任何拟合值 |det H| ≤ 1e-7 (立方量的绝对下限),因此 ScaleSpaceDetector 在 [0, 1] 图像上会将 97.6% 的关键点不进行细化。

作者: ducha-aiki创建于 2026年9月28日更新于 2026年9月28日

`conv_quad_interp3d` and `iterative_quad_interp3d` accept a quadratic fit only when `|det H| > 1e-7`, where `H` is the 3×3 Hessian of the response (`_solve_cramer_sym3x3`, `kornia/geometry/subpix/spatial_soft_argmax.py`, `solved = det.abs() > eps` with `eps = 1e-7`; the CUDA path passes the same `eps`). The floor is absolute, but `det H` is cubic in the response amplitude. A well-conditioned fit on a response scaled by `1e-3` has `det H = -6e-9` and is rejected as singular, so the maximum keeps its integer coordinates. The detector responses of a `[0, 1]` image sit far below that floor, so `ScaleSpaceDetector` returns almost every keypoint unrefined.