|
tesseract 4.1.1
|
#include <detlinefit.h>
Public Member Functions | |
| DetLineFit () | |
| ~DetLineFit ()=default | |
| void | Clear () |
| void | Add (const ICOORD &pt) |
| void | Add (const ICOORD &pt, int halfwidth) |
| double | Fit (ICOORD *pt1, ICOORD *pt2) |
| double | Fit (int skip_first, int skip_last, ICOORD *pt1, ICOORD *pt2) |
| double | ConstrainedFit (const FCOORD &direction, double min_dist, double max_dist, bool debug, ICOORD *line_pt) |
| bool | SufficientPointsForIndependentFit () const |
| double | Fit (float *m, float *c) |
| double | ConstrainedFit (double m, float *c) |
Definition at line 56 of file detlinefit.h.
| tesseract::DetLineFit::DetLineFit | ( | ) |
Definition at line 41 of file detlinefit.cpp.
|
default |
| void tesseract::DetLineFit::Add | ( | const ICOORD & | pt | ) |
Definition at line 51 of file detlinefit.cpp.
| void tesseract::DetLineFit::Add | ( | const ICOORD & | pt, |
| int | halfwidth | ||
| ) |
Definition at line 58 of file detlinefit.cpp.
| void tesseract::DetLineFit::Clear | ( | ) |
Definition at line 45 of file detlinefit.cpp.
| double tesseract::DetLineFit::ConstrainedFit | ( | const FCOORD & | direction, |
| double | min_dist, | ||
| double | max_dist, | ||
| bool | debug, | ||
| ICOORD * | line_pt | ||
| ) |
Definition at line 130 of file detlinefit.cpp.
| double tesseract::DetLineFit::ConstrainedFit | ( | double | m, |
| float * | c | ||
| ) |
Definition at line 185 of file detlinefit.cpp.
| double tesseract::DetLineFit::Fit | ( | float * | m, |
| float * | c | ||
| ) |
Definition at line 169 of file detlinefit.cpp.
Definition at line 75 of file detlinefit.h.
Definition at line 65 of file detlinefit.cpp.
| bool tesseract::DetLineFit::SufficientPointsForIndependentFit | ( | ) | const |
Definition at line 162 of file detlinefit.cpp.