47 operator bool()
const {
return !isNull; }
50 Line(
const std::vector<utils::Point32f> &ps,
float *
error=0);
59 inline float getError()
const {
return fabs(evals[1]); }
60 operator bool()
const {
return !isNull; }
62 static PCAInfo perform_pca(
const std::vector<utils::Point32f> &p);
72 float evalError(
bool storeLines=
true);
76 static float compute_error(
const MarkerGrid &g);
79 template<
bool STORE_LINES>
const MarkerGrid * grid
Definition: MarkerGridEvaluater.h:42
undocument this line if you encounter any issues!
Definition: Any.h:37
int type
Definition: MarkerGridEvaluater.h:46
Line()
Definition: MarkerGridEvaluater.h:48
Line(const utils::Point32f &a, const utils::Point32f &b)
Definition: MarkerGridEvaluater.h:49
V evals
Definition: MarkerGridEvaluater.h:57
V c
Definition: MarkerGridEvaluater.h:55
bool isNull
Definition: MarkerGridEvaluater.h:58
Definition: MarkerGridEvaluater.h:52
MarkerGridEvaluater(const MarkerGrid *grid=0)
Definition: MarkerGridEvaluater.h:68
float getError() const
Definition: MarkerGridEvaluater.h:59
Definition: MarkerGridEvaluater.h:43
math::FixedColVector< float, 2 > V
Definition: MarkerGridEvaluater.h:53
Definition: MarkerGridEvaluater.h:38
utils::Point32f b
Definition: MarkerGridEvaluater.h:44
AdvancedMarkerGridDetector::MarkerGrid MarkerGrid
Definition: MarkerGridEvaluater.h:39
ICLCV_API void error(const char *msg)
Display error message and terminate program.
Abstract class for visualization tasks.
Definition: VisualizationDescription.h:73
bool isNull
Definition: MarkerGridEvaluater.h:45
math::FixedMatrix< float, 2, 2 > M
Definition: MarkerGridEvaluater.h:54
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
M evecs
Definition: MarkerGridEvaluater.h:56
internal data-class the represents a more sophisticated
Definition: AdvancedMarkerGridDetector.h:81
void setGrid(const MarkerGrid *grid)
Definition: MarkerGridEvaluater.h:70
Represents whole grid of markers.
Definition: AdvancedMarkerGridDetector.h:170
#define ICLMarkers_API
Definition: CompatMacros.h:180
std::vector< Line > lines
Definition: MarkerGridEvaluater.h:66
float error
Definition: MarkerGridEvaluater.h:65
AdvancedMarkerGridDetector::Marker Marker
Definition: MarkerGridEvaluater.h:40