#include <detect_calibration_pattern.h>
Public Member Functions | |
int | detectPattern (cv::Mat &image_in, Eigen::Vector3f &translation, Eigen::Quaternionf &orientation, cv::Mat &image_out) |
PatternDetector () | |
void | setCameraMatrices (cv::Mat K_, cv::Mat D_) |
void | setPattern (cv::Size grid_size_, float square_size_, Pattern pattern_type_, cv::Point3f offset_=cv::Point3f()) |
Static Public Member Functions | |
static object_pts_t | calcChessboardCorners (cv::Size boardSize, float squareSize, Pattern patternType=CHESSBOARD, cv::Point3f offset=cv::Point3f()) |
Public Attributes | |
cv::Mat | D |
cv::Size | grid_size |
object_pts_t | ideal_points |
cv::Mat | K |
Pattern | pattern_type |
cv::Mat | R |
cv::Mat | rvec |
float | square_size |
cv::Mat | tvec |
Definition at line 58 of file detect_calibration_pattern.h.
PatternDetector::PatternDetector | ( | ) | [inline] |
Definition at line 61 of file detect_calibration_pattern.h.
object_pts_t PatternDetector::calcChessboardCorners | ( | cv::Size | boardSize, |
float | squareSize, | ||
Pattern | patternType = CHESSBOARD , |
||
cv::Point3f | offset = cv::Point3f() |
||
) | [static] |
Definition at line 47 of file detect_calibration_pattern.cpp.
int PatternDetector::detectPattern | ( | cv::Mat & | image_in, |
Eigen::Vector3f & | translation, | ||
Eigen::Quaternionf & | orientation, | ||
cv::Mat & | image_out | ||
) |
Definition at line 78 of file detect_calibration_pattern.cpp.
void PatternDetector::setCameraMatrices | ( | cv::Mat | K_, |
cv::Mat | D_ | ||
) |
Definition at line 32 of file detect_calibration_pattern.cpp.
void PatternDetector::setPattern | ( | cv::Size | grid_size_, |
float | square_size_, | ||
Pattern | pattern_type_, | ||
cv::Point3f | offset_ = cv::Point3f() |
||
) |
Definition at line 38 of file detect_calibration_pattern.cpp.
cv::Mat PatternDetector::D |
Definition at line 77 of file detect_calibration_pattern.h.
cv::Size PatternDetector::grid_size |
Definition at line 81 of file detect_calibration_pattern.h.
Definition at line 83 of file detect_calibration_pattern.h.
cv::Mat PatternDetector::K |
Definition at line 76 of file detect_calibration_pattern.h.
Definition at line 80 of file detect_calibration_pattern.h.
cv::Mat PatternDetector::R |
Definition at line 78 of file detect_calibration_pattern.h.
cv::Mat PatternDetector::rvec |
Definition at line 78 of file detect_calibration_pattern.h.
Definition at line 82 of file detect_calibration_pattern.h.
cv::Mat PatternDetector::tvec |
Definition at line 78 of file detect_calibration_pattern.h.