OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossim2dLinearRegression.h>
Public Member Functions | |
ossim2dLinearRegression () | |
void | getEquation (double &slope, double &intercept) |
void | addPoint (const ossimDpt &pt) |
void | clear () |
void | solve () |
ossim_uint32 | getNumberOfPoints () const |
Protected Attributes | |
ossim_uint32 | theNumberOfPoints |
double | theSumX |
double | theSumY |
double | theSumXX |
double | theSumYY |
double | theSumXY |
double | theIntercept |
double | theSlope |
bool | theSolvedFlag |
Friends | |
OSSIM_DLL std::ostream & | operator<< (std::ostream &out, const ossim2dLinearRegression &data) |
Definition at line 16 of file ossim2dLinearRegression.h.
ossim2dLinearRegression::ossim2dLinearRegression | ( | ) |
|
inline |
Definition at line 33 of file ossim2dLinearRegression.h.
References ossimDpt::x, and ossimDpt::y.
Referenced by ossimLocalCorrelationFusion::computeRegression().
|
inline |
Definition at line 44 of file ossim2dLinearRegression.h.
Referenced by ossim2dLinearRegression().
|
inline |
Definition at line 27 of file ossim2dLinearRegression.h.
Referenced by ossimLocalCorrelationFusion::computeRegression().
|
inline |
Definition at line 58 of file ossim2dLinearRegression.h.
void ossim2dLinearRegression::solve | ( | ) |
Definition at line 16 of file ossim2dLinearRegression.cpp.
References FLT_EPSILON, theIntercept, theNumberOfPoints, theSlope, theSolvedFlag, theSumX, theSumXX, theSumXY, and theSumY.
Referenced by ossimLocalCorrelationFusion::computeRegression().
|
friend |
Definition at line 19 of file ossim2dLinearRegression.h.
|
protected |
Definition at line 72 of file ossim2dLinearRegression.h.
Referenced by solve().
|
protected |
Definition at line 65 of file ossim2dLinearRegression.h.
Referenced by solve().
|
protected |
Definition at line 73 of file ossim2dLinearRegression.h.
Referenced by solve().
|
protected |
Definition at line 74 of file ossim2dLinearRegression.h.
Referenced by solve().
|
protected |
Definition at line 66 of file ossim2dLinearRegression.h.
Referenced by solve().
|
protected |
Definition at line 68 of file ossim2dLinearRegression.h.
Referenced by solve().
|
protected |
Definition at line 70 of file ossim2dLinearRegression.h.
Referenced by solve().
|
protected |
Definition at line 67 of file ossim2dLinearRegression.h.
Referenced by solve().
|
protected |
Definition at line 69 of file ossim2dLinearRegression.h.