11 #ifndef ossimLeastSquaresPlane_INCLUDE 12 #define ossimLeastSquaresPlane_INCLUDE 58 virtual void addSample(
double x,
double y,
double z_mea);
67 virtual bool getLSParms(
double& pa,
double& pb,
double& pc)
const;
74 virtual void setLSParams(
double pa,
double pb,
double pc);
83 virtual inline double lsFitValue(
double xx,
double yy)
const {
return (m_a*xx + m_b*yy + m_c); }
unsigned int ossim_uint32
NEWMAT::Matrix * AtA
Normal system coefficient matrix.
NEWMAT::Matrix * Atb
Normal system RHS vector.
Provide 2D Least Squares Plane model fitting The math model is that of a plane of the form: ...
virtual double lsFitValue(double xx, double yy) const
interpolate LS-fit value at location (xx,yy) - returns z(xx,yy).
ossim_uint32 m_numSamples