#include "ccalib.hpp"
Inheritance diagram for cv::ccalib::CustomPattern:
Public Member Functions
double
calibrate (
InputArrayOfArrays objectPoints,
InputArrayOfArrays imagePoints,
Size imageSize,
InputOutputArray cameraMatrix,
InputOutputArray distCoeffs,
OutputArrayOfArrays rvecs,
OutputArrayOfArrays tvecs, int flags=0,
TermCriteria criteria=
TermCriteria(
TermCriteria::COUNT+
TermCriteria::EPS, 30, DBL_EPSILON))
bool
findRtRANSAC (
InputArray objectPoints,
InputArray imagePoints,
InputArray cameraMatrix,
InputArray distCoeffs,
OutputArray rvec,
OutputArray tvec, bool useExtrinsicGuess=false, int iterationsCount=100, float reprojectionError=8.0, int minInliersCount=100,
OutputArray inliers=
noArray(), int flags=
SOLVEPNP_ITERATIVE)
bool
findRtRANSAC (
InputArray image,
InputArray cameraMatrix,
InputArray distCoeffs,
OutputArray rvec,
OutputArray tvec, bool useExtrinsicGuess=false, int iterationsCount=100, float reprojectionError=8.0, int minInliersCount=100,
OutputArray inliers=
noArray(), int flags=
SOLVEPNP_ITERATIVE)
Clears the algorithm state.
More...
virtual bool
empty () const
Returns true if the
Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
More...
Reads algorithm parameters from a file storage.
More...
Stores algorithm parameters in a file storage.
More...
Additional Inherited Members
template<typename _Tp >
Loads algorithm from the file.
More...
template<typename _Tp >
template<typename _Tp >
Reads algorithm from the file node.
More...
Constructor & Destructor Documentation
§ CustomPattern()
cv::ccalib::CustomPattern::CustomPattern
(
)
§ ~CustomPattern()
virtual cv::ccalib::CustomPattern::~CustomPattern
(
)
virtual
Member Function Documentation
§ calibrate()
Calls the calirateCamera function with the same inputs.
§ create()
bool cv::ccalib::CustomPattern::create
(
InputArray
pattern,
)
§ drawOrientation()
double
axis_length = 3,
int
axis_width = 2
)
pattern_corners -> projected over the image position of the edges of the pattern.
§ findPattern()
bool cv::ccalib::CustomPattern::findPattern
(
InputArray
image,
const double
ratio = 0.7,
const double
proj_error = 8.0,
const bool
refine_position = false,
)
§ findRt() [1/2]
bool cv::ccalib::CustomPattern::findRt
(
InputArray
objectPoints,
bool
useExtrinsicGuess = false,
)
§ findRt() [2/2]
bool cv::ccalib::CustomPattern::findRt
(
InputArray
image,
bool
useExtrinsicGuess = false,
)
Uses solvePnP to find the rotation and translation of the pattern with respect to the camera frame.
§ findRtRANSAC() [1/2]
bool cv::ccalib::CustomPattern::findRtRANSAC
(
InputArray
objectPoints,
bool
useExtrinsicGuess = false,
int
iterationsCount = 100,
float
reprojectionError = 8.0,
int
minInliersCount = 100,
)
§ findRtRANSAC() [2/2]
bool cv::ccalib::CustomPattern::findRtRANSAC
(
InputArray
image,
bool
useExtrinsicGuess = false,
int
iterationsCount = 100,
float
reprojectionError = 8.0,
int
minInliersCount = 100,
)
§ getDescriptorExtractor()
§ getDescriptorMatcher()
§ getFeatureDetector()
§ getPatternPoints()
void cv::ccalib::CustomPattern::getPatternPoints
(
OutputArray
original_points )
Returns a vector<Point> of the original points.
§ getPixelSize()
double cv::ccalib::CustomPattern::getPixelSize
(
)
Get the pixel size of the pattern
§ isInitialized()
bool cv::ccalib::CustomPattern::isInitialized
(
)
§ setDescriptorExtractor()
§ setDescriptorMatcher()
§ setFeatureDetector()
bool cv::ccalib::CustomPattern::setFeatureDetector
(
Ptr<
FeatureDetector >
featureDetector )
The documentation for this class was generated from the following file:
- /build/master-contrib_docs-lin64/opencv_contrib/modules/ccalib/include/opencv2/ccalib.hpp