Functions
vnl_fit_parabola.h File Reference

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...
 

Detailed Description

Function to fit a parabola to three point to predict the centre line.

Author
Tim Cootes
Date
Feb 2007
  Modifications

Definition in file vnl_fit_parabola.h.

Function Documentation

◆ vnl_fit_parabola()

void vnl_fit_parabola ( double  xa,
double  xb,
double  xc,
double  fa,
double  fb,
double  fc,
double &  p,
double &  q 
)
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.