Main MRPT website > C++ reference for MRPT 1.5.6
Macros | Functions
checkerboard_ocamcalib_detector.cpp File Reference
#include "vision-precomp.h"
#include <stack>
#include "checkerboard_ocamcalib_detector.h"
#include <mrpt/utils/CArray.h>
#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 (mrpt::utils::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 mrpt::utils::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< CvCBQuadPtr > &quad_group, const CvSize &pattern_size)
 
void icvFindConnectedQuads (std::vector< CvCBQuadPtr > &quad, std::vector< CvCBQuadPtr > &out_group, const int group_idx, const int dilation)
 
void mrLabelQuadGroup (std::vector< CvCBQuadPtr > &quad_group, const CvSize &pattern_size, bool firstRun)
 
void mrFindQuadNeighbors2 (std::vector< CvCBQuadPtr > &quads, int dilation)
 
int mrAugmentBestRun (std::vector< CvCBQuadPtr > &new_quads, int new_dilation, std::vector< CvCBQuadPtr > &old_quads, int old_dilation)
 
int icvGenerateQuads (vector< CvCBQuadPtr > &out_quads, vector< CvCBCornerPtr > &out_corners, const mrpt::utils::CImage &image, int flags, int dilation, bool firstRun)
 
int myQuads2Points (const std::vector< CvCBQuadPtr > &output_quads, const CvSize &pattern_size, std::vector< CvPoint2D32f > &out_corners)
 
void quadListMakeUnique (std::vector< CvCBQuadPtr > &quads)
 

Macro Definition Documentation

#define MAX_CONTOUR_APPROX   7

Definition at line 66 of file checkerboard_ocamcalib_detector.cpp.

Referenced by icvGenerateQuads().

Function Documentation

int cvFindChessboardCorners3 ( const mrpt::utils::CImage img_,
CvSize  pattern_size,
std::vector< CvPoint2D32f > &  out_corners 
)
bool do_special_dilation ( mrpt::utils::CImage thresh_img,
const int  dilations,
IplConvKernel *  kernel_cross,
IplConvKernel *  kernel_rect,
IplConvKernel *  kernel_diag1,
IplConvKernel *  kernel_diag2,
IplConvKernel *  kernel_horz,
IplConvKernel *  kernel_vert 
)
void icvCleanFoundConnectedQuads ( std::vector< CvCBQuadPtr > &  quad_group,
const CvSize &  pattern_size 
)
void icvFindConnectedQuads ( std::vector< CvCBQuadPtr > &  quad,
std::vector< CvCBQuadPtr > &  out_group,
const int  group_idx,
const int  dilation 
)
int icvGenerateQuads ( vector< CvCBQuadPtr > &  out_quads,
vector< CvCBCornerPtr > &  out_corners,
const mrpt::utils::CImage image,
int  flags,
int  dilation,
bool  firstRun 
)
double median ( const std::vector< double > &  vec)

Definition at line 754 of file checkerboard_ocamcalib_detector.cpp.

Referenced by icvCleanFoundConnectedQuads().

int mrAugmentBestRun ( std::vector< CvCBQuadPtr > &  new_quads,
int  new_dilation,
std::vector< CvCBQuadPtr > &  old_quads,
int  old_dilation 
)
void mrFindQuadNeighbors2 ( std::vector< CvCBQuadPtr > &  quads,
int  dilation 
)
void mrLabelQuadGroup ( std::vector< CvCBQuadPtr > &  quad_group,
const CvSize &  pattern_size,
bool  firstRun 
)
int myQuads2Points ( const std::vector< CvCBQuadPtr > &  output_quads,
const CvSize &  pattern_size,
std::vector< CvPoint2D32f > &  out_corners 
)
void quadListMakeUnique ( std::vector< CvCBQuadPtr > &  quads)
double triangleArea ( double  x0,
double  y0,
double  x1,
double  y1,
double  x2,
double  y2 
)

Definition at line 746 of file checkerboard_ocamcalib_detector.cpp.

Referenced by icvCleanFoundConnectedQuads().




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018