#include <detect_calibration_pattern.h>
Public Member Functions | |
int | detectPattern (cv::Mat &inm, Eigen::Vector3f &translation, Eigen::Quaternionf &orientation) |
PatternDetector () | |
void | setCameraMatrices (cv::Matx33d K_, cv::Matx33d 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::Matx33d | D |
cv::Size | grid_size |
object_pts_t | ideal_points |
cv::Matx33d | K |
Pattern | pattern_type |
cv::Mat | R |
cv::Mat | rvec |
float | square_size |
cv::Mat | tvec |
Definition at line 29 of file detect_calibration_pattern.h.
|
inline |
Definition at line 32 of file detect_calibration_pattern.h.
|
static |
Definition at line 18 of file detect_calibration_pattern.cpp.
int PatternDetector::detectPattern | ( | cv::Mat & | inm, |
Eigen::Vector3f & | translation, | ||
Eigen::Quaternionf & | orientation | ||
) |
Definition at line 49 of file detect_calibration_pattern.cpp.
void PatternDetector::setCameraMatrices | ( | cv::Matx33d | K_, |
cv::Matx33d | D_ | ||
) |
Definition at line 3 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 9 of file detect_calibration_pattern.cpp.
cv::Matx33d PatternDetector::D |
Definition at line 48 of file detect_calibration_pattern.h.
cv::Size PatternDetector::grid_size |
Definition at line 54 of file detect_calibration_pattern.h.
object_pts_t PatternDetector::ideal_points |
Definition at line 56 of file detect_calibration_pattern.h.
cv::Matx33d PatternDetector::K |
Definition at line 47 of file detect_calibration_pattern.h.
Pattern PatternDetector::pattern_type |
Definition at line 53 of file detect_calibration_pattern.h.
cv::Mat PatternDetector::R |
Definition at line 49 of file detect_calibration_pattern.h.
cv::Mat PatternDetector::rvec |
Definition at line 49 of file detect_calibration_pattern.h.
float PatternDetector::square_size |
Definition at line 55 of file detect_calibration_pattern.h.
cv::Mat PatternDetector::tvec |
Definition at line 49 of file detect_calibration_pattern.h.