Main MRPT website > C++ reference for MRPT 1.9.9
Macros | Functions
checkerboard_ocamcalib_detector.cpp File Reference
#include "vision-precomp.h"
#include <stack>
#include "checkerboard_ocamcalib_detector.h"
#include <array>
#include <map>
Include dependency graph for checkerboard_ocamcalib_detector.cpp:

Go to the source code of this file.

Macros

#define MAX_CONTOUR_APPROX   7
 

Functions

bool do_special_dilation (CImage &thresh_img, const int dilations, IplConvKernel *kernel_cross, IplConvKernel *kernel_rect, IplConvKernel *kernel_diag1, IplConvKernel *kernel_diag2, IplConvKernel *kernel_horz, IplConvKernel *kernel_vert)
 
int cvFindChessboardCorners3 (const CImage &img_, CvSize pattern_size, std::vector< CvPoint2D32f > &out_corners)
 
double triangleArea (double x0, double y0, double x1, double y1, double x2, double y2)
 
double median (const std::vector< double > &vec)
 
void icvCleanFoundConnectedQuads (std::vector< CvCBQuad::Ptr > &quad_group, const CvSize &pattern_size)
 
void icvFindConnectedQuads (std::vector< CvCBQuad::Ptr > &quad, std::vector< CvCBQuad::Ptr > &out_group, const int group_idx, const int dilation)
 
void mrLabelQuadGroup (std::vector< CvCBQuad::Ptr > &quad_group, const CvSize &pattern_size, bool firstRun)
 
void mrFindQuadNeighbors2 (std::vector< CvCBQuad::Ptr > &quads, int dilation)
 
int mrAugmentBestRun (std::vector< CvCBQuad::Ptr > &new_quads, int new_dilation, std::vector< CvCBQuad::Ptr > &old_quads, int old_dilation)
 
int icvGenerateQuads (vector< CvCBQuad::Ptr > &out_quads, vector< CvCBCorner::Ptr > &out_corners, const CImage &image, int flags, int dilation, bool firstRun)
 
int myQuads2Points (const std::vector< CvCBQuad::Ptr > &output_quads, const CvSize &pattern_size, std::vector< CvPoint2D32f > &out_corners)
 
void quadListMakeUnique (std::vector< CvCBQuad::Ptr > &quads)
 

Macro Definition Documentation

◆ MAX_CONTOUR_APPROX

#define MAX_CONTOUR_APPROX   7

Definition at line 78 of file checkerboard_ocamcalib_detector.cpp.

Referenced by icvGenerateQuads().

Function Documentation

◆ cvFindChessboardCorners3()

int cvFindChessboardCorners3 ( const CImage img_,
CvSize  pattern_size,
std::vector< CvPoint2D32f > &  out_corners 
)

◆ do_special_dilation()

bool do_special_dilation ( CImage thresh_img,
const int  dilations,
IplConvKernel *  kernel_cross,
IplConvKernel *  kernel_rect,
IplConvKernel *  kernel_diag1,
IplConvKernel *  kernel_diag2,
IplConvKernel *  kernel_horz,
IplConvKernel *  kernel_vert 
)

◆ icvCleanFoundConnectedQuads()

void icvCleanFoundConnectedQuads ( std::vector< CvCBQuad::Ptr > &  quad_group,
const CvSize &  pattern_size 
)

◆ icvFindConnectedQuads()

void icvFindConnectedQuads ( std::vector< CvCBQuad::Ptr > &  quad,
std::vector< CvCBQuad::Ptr > &  out_group,
const int  group_idx,
const int  dilation 
)

◆ icvGenerateQuads()

int icvGenerateQuads ( vector< CvCBQuad::Ptr > &  out_quads,
vector< CvCBCorner::Ptr > &  out_corners,
const CImage image,
int  flags,
int  dilation,
bool  firstRun 
)

(flags & CV_CALIB_CB_FILTER_QUADS) ||

Definition at line 2237 of file checkerboard_ocamcalib_detector.cpp.

References CvContourEx::counter, MAX_CONTOUR_APPROX, and MRPT_UNUSED_PARAM.

Referenced by cvFindChessboardCorners3(), and find_chessboard_corners_multiple().

◆ median()

double median ( const std::vector< double > &  vec)

Definition at line 875 of file checkerboard_ocamcalib_detector.cpp.

Referenced by icvCleanFoundConnectedQuads().

◆ mrAugmentBestRun()

int mrAugmentBestRun ( std::vector< CvCBQuad::Ptr > &  new_quads,
int  new_dilation,
std::vector< CvCBQuad::Ptr > &  old_quads,
int  old_dilation 
)

◆ mrFindQuadNeighbors2()

void mrFindQuadNeighbors2 ( std::vector< CvCBQuad::Ptr > &  quads,
int  dilation 
)

◆ mrLabelQuadGroup()

void mrLabelQuadGroup ( std::vector< CvCBQuad::Ptr > &  quad_group,
const CvSize &  pattern_size,
bool  firstRun 
)

◆ myQuads2Points()

int myQuads2Points ( const std::vector< CvCBQuad::Ptr > &  output_quads,
const CvSize &  pattern_size,
std::vector< CvPoint2D32f > &  out_corners 
)

◆ quadListMakeUnique()

void quadListMakeUnique ( std::vector< CvCBQuad::Ptr > &  quads)

◆ triangleArea()

double triangleArea ( double  x0,
double  y0,
double  x1,
double  y1,
double  x2,
double  y2 
)

Definition at line 869 of file checkerboard_ocamcalib_detector.cpp.

Referenced by icvCleanFoundConnectedQuads().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019