Inheritance diagram for LinearFit:
Public Member Functions | |
LinearFit () | |
LinearFit (const PtArray_t &x, const PtArray_t &y) | |
double | getCorrCoefficient () |
void | addVal (int x, int y, double weight=1.0) |
void | formLine () |
double | getError (int *x, int *y, int num) |
double | getX1 () |
double | getY1 () |
double | getX2 () |
double | getY2 () |
double | getSlope () |
bool | isAlongX () |
double | getYForX (double x) |
double | getXForY (double y) |
void | print (FILE *fp) |
void | markImage (Data2D< int > img, int val) |
double | getDist (const double &x, const double &y) |
int | getNumMatch (const PtArray_t &x, const PtArray_t &y, int thresh) |
Protected Attributes | |
double | x1 |
double | y1 |
double | x2 |
double | y2 |
LinearFit::LinearFit | ( | ) | [inline] |
LinearFit::LinearFit | ( | const PtArray_t & | x, | |
const PtArray_t & | y | |||
) | [inline] |
void LinearFit::addVal | ( | int | x, | |
int | y, | |||
double | weight = 1.0 | |||
) | [inline] |
void LinearFit::formLine | ( | ) | [inline] |
double LinearFit::getCorrCoefficient | ( | ) | [inline] |
double LineInfo::getDist | ( | const double & | x, | |
const double & | y | |||
) | [inline, inherited] |
double LinearFit::getError | ( | int * | x, | |
int * | y, | |||
int | num | |||
) | [inline] |
int LineInfo::getNumMatch | ( | const PtArray_t & | x, | |
const PtArray_t & | y, | |||
int | thresh | |||
) | [inline, inherited] |
double LineInfo::getSlope | ( | ) | [inline, inherited] |
double LineInfo::getX1 | ( | ) | [inline, inherited] |
double LineInfo::getX2 | ( | ) | [inline, inherited] |
double LineInfo::getXForY | ( | double | y | ) | [inline, inherited] |
double LineInfo::getY1 | ( | ) | [inline, inherited] |
double LineInfo::getY2 | ( | ) | [inline, inherited] |
double LineInfo::getYForX | ( | double | x | ) | [inline, inherited] |
bool LineInfo::isAlongX | ( | ) | [inline, inherited] |
void LineInfo::markImage | ( | Data2D< int > | img, | |
int | val | |||
) | [inline, inherited] |
void LineInfo::print | ( | FILE * | fp | ) | [inline, inherited] |
double LineInfo::x1 [protected, inherited] |
double LineInfo::x2 [protected, inherited] |
double LineInfo::y1 [protected, inherited] |
double LineInfo::y2 [protected, inherited] |