Main MRPT website > C++ reference for MRPT 1.5.9
Classes | Macros | Typedefs | Functions
checkerboard_ocamcalib_detector.h File Reference
#include <mrpt/otherlibs/do_opencv_includes.h>
#include <cmath>
#include <cstdio>
#include <memory>
Include dependency graph for checkerboard_ocamcalib_detector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CvContourEx
 
struct  CvCBCorner
 
struct  CvCBQuad
 

Macros

#define VIS   0
 

Typedefs

typedef std::shared_ptr< CvCBCornerCvCBCornerPtr
 
typedef std::shared_ptr< CvCBQuadCvCBQuadPtr
 

Functions

int cvFindChessboardCorners3 (const mrpt::utils::CImage &img_, CvSize pattern_size, std::vector< CvPoint2D32f > &out_corners)
 
bool find_chessboard_corners_multiple (const mrpt::utils::CImage &img_, CvSize pattern_size, std::vector< std::vector< CvPoint2D32f > > &out_corners)
 
int icvGenerateQuads (std::vector< CvCBQuadPtr > &quads, std::vector< CvCBCornerPtr > &corners, const mrpt::utils::CImage &img, int flags, int dilation, 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)
 
void icvFindConnectedQuads (std::vector< CvCBQuadPtr > &in_quads, std::vector< CvCBQuadPtr > &out_quad_group, const int group_idx, const int dilation)
 
void mrLabelQuadGroup (std::vector< CvCBQuadPtr > &quad_group, const CvSize &pattern_size, bool firstRun)
 
void icvCleanFoundConnectedQuads (std::vector< CvCBQuadPtr > &quads, const CvSize &pattern_size)
 
int myQuads2Points (const std::vector< CvCBQuadPtr > &output_quads, const CvSize &pattern_size, std::vector< CvPoint2D32f > &out_corners)
 
void quadListMakeUnique (std::vector< CvCBQuadPtr > &quads)
 
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)
 

Macro Definition Documentation

◆ VIS

#define VIS   0

Definition at line 25 of file checkerboard_ocamcalib_detector.h.

Typedef Documentation

◆ CvCBCornerPtr

typedef std::shared_ptr<CvCBCorner> CvCBCornerPtr

Definition at line 35 of file checkerboard_ocamcalib_detector.h.

◆ CvCBQuadPtr

typedef std::shared_ptr<CvCBQuad> CvCBQuadPtr

Definition at line 54 of file checkerboard_ocamcalib_detector.h.

Function Documentation

◆ cvFindChessboardCorners3()

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

◆ do_special_dilation()

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 
)

◆ find_chessboard_corners_multiple()

bool find_chessboard_corners_multiple ( const mrpt::utils::CImage img_,
CvSize  pattern_size,
std::vector< std::vector< CvPoint2D32f > > &  out_corners 
)

◆ icvCleanFoundConnectedQuads()

void icvCleanFoundConnectedQuads ( std::vector< CvCBQuadPtr > &  quads,
const CvSize &  pattern_size 
)

◆ icvFindConnectedQuads()

void icvFindConnectedQuads ( std::vector< CvCBQuadPtr > &  in_quads,
std::vector< CvCBQuadPtr > &  out_quad_group,
const int  group_idx,
const int  dilation 
)

◆ icvGenerateQuads()

int icvGenerateQuads ( std::vector< CvCBQuadPtr > &  quads,
std::vector< CvCBCornerPtr > &  corners,
const mrpt::utils::CImage img,
int  flags,
int  dilation,
bool  firstRun 
)

(flags & CV_CALIB_CB_FILTER_QUADS) ||

Definition at line 1988 of file checkerboard_ocamcalib_detector.cpp.

References CvContourEx::counter, MAX_CONTOUR_APPROX, and MRPT_UNUSED_PARAM.

Referenced by cvFindChessboardCorners3(), and find_chessboard_corners_multiple().

◆ mrAugmentBestRun()

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

◆ mrFindQuadNeighbors2()

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

◆ mrLabelQuadGroup()

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

◆ myQuads2Points()

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

◆ quadListMakeUnique()

void quadListMakeUnique ( std::vector< CvCBQuadPtr > &  quads)



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020