Class SubpixelMaxInterpolator.Quartic

java.lang.Object
imagingbook.common.corners.SubpixelMaxInterpolator
imagingbook.common.corners.SubpixelMaxInterpolator.Quartic
Enclosing class:
SubpixelMaxInterpolator

2D interpolator based on fitting a 'quartic' (i.e., 4th-order) polynomial

 f(x,y) = c_0 + c_1 x + c_2 y + c_3 x^2 + c_4 y^2 + c_5 x y + c_6 x^2 y + c_7 x y^2 + c_8 x^2 y^2

to the supplied sample values. The interpolation function passes through all sample values. The local maximum cannot be found in closed form but is found iteratively, which is not guaranteed to succeed. See Appendix E.2.4 (Alg. E.3, 'FindMaxQuartic') of [1] for additional details.

[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).