25 #ifndef __CheckerboardDetector_hh__
26 #define __CheckerboardDetector_hh__
30 #include <bias_config.h>
31 #ifndef BIAS_HAVE_OPENCV
32 # error Please recompile BIAS with USE_OPENCV to use this code.
35 #include <Base/Image/ImageBase.hh>
62 const unsigned int &xCorners,
63 const unsigned int & yCorners,
65 const bool &saveDebugImage =
false);
72 static void DrawPoints(
void* img,
78 const bool DRAW_IDEAL_OVERLAY =
true,
79 const bool DRAW_AXES =
true,
80 const bool DRAW_POINT_LABEL =
true);
87 cornerDetectorFlags_ = flags;
92 subPixelIterations_ = maxIters;
97 subPixelAccuracy_ = accuracy;
103 static int cornerDetectorFlags_;
106 static int subPixelIterations_;
109 static double subPixelAccuracy_;
114 #endif //__CheckerboardDetector_hh__
static void SetSubPixelIterations(int maxIters)
std::vector< std::pair< float, float > > t_CoordVecf
helper vector of coordinates
Detects a checkerboard pattern in an image (typically 7x4 inner corners, asymmetric layout recommende...
static void SetSubPixelAccuracy(double accuracy)
static void SetCornerDetectorFlags(int flags)