If the point of interest is the maximum or minimum of a one-dimensional
sequence, its immediate neighborhood can be approximated by a quadratic
function of the form
.
A quadratic is the lowest-degree function that can represent local minima
or maxima.
Let ,
, and
be the function values at offsets
,
, and
from the pixel-precision minimum or maximum.
The quadratic passing through these three points has the useful form
| (1.131) |
| (1.132) |
This equation also yields another useful result: if is a local
maximum or minimum, then by definition its value is always less than or
greater than both
and
.
From this observation, it is easy to show that
always lies between
and
.
An alternative formulation is obtained by denoting
and
; the equation of the parabola then becomes
| (1.133) |
| (1.134) |
Paolo medici