Function to fit a parabola to three point to predict the centre line. More...
Go to the source code of this file.
Functions | |
| void | vnl_fit_parabola (double xa, double xb, double xc, double fa, double fb, double fc, double &p, double &q) |
| Fit a parabola so as to estimate the position of the centre line. More... | |
Function to fit a parabola to three point to predict the centre line.
Modifications
Definition in file vnl_fit_parabola.h.
|
inline |
Fit a parabola so as to estimate the position of the centre line.
The centre (maxima or minima) lies at xb + p/q. If q is near zero, then the parabola is nearly flat
Definition at line 18 of file vnl_fit_parabola.h.
1.8.15