OpenCV
5.0.0-pre
Open Source Computer Vision
|
struct RefineParameters is used by ArucoDetector More...
#include <opencv2/objdetect/aruco_detector.hpp>
Public Member Functions | |
RefineParameters (float minRepDistance=10.f, float errorCorrectionRate=3.f, bool checkAllOrders=true) | |
bool | readRefineParameters (const FileNode &fn) |
Read a new set of RefineParameters from FileNode (use FileStorage.root()). | |
bool | writeRefineParameters (FileStorage &fs, const String &name=String()) |
Write a set of RefineParameters to FileStorage. | |
Public Attributes | |
bool | checkAllOrders |
checkAllOrders consider the four posible corner orders in the rejectedCorners array. | |
float | errorCorrectionRate |
errorCorrectionRate rate of allowed erroneous bits respect to the error correction capability of the used dictionary. | |
float | minRepDistance |
minRepDistance minimum distance between the corners of the rejected candidate and the reprojected marker in order to consider it as a correspondence. | |
struct RefineParameters is used by ArucoDetector
cv::aruco::RefineParameters::RefineParameters | ( | float | minRepDistance = 10.f , |
float | errorCorrectionRate = 3.f , |
||
bool | checkAllOrders = true |
||
) |
bool cv::aruco::RefineParameters::readRefineParameters | ( | const FileNode & | fn | ) |
Read a new set of RefineParameters from FileNode (use FileStorage.root()).
bool cv::aruco::RefineParameters::writeRefineParameters | ( | FileStorage & | fs, |
const String & | name = String() |
||
) |
Write a set of RefineParameters to FileStorage.
bool cv::aruco::RefineParameters::checkAllOrders |
checkAllOrders consider the four posible corner orders in the rejectedCorners array.
If it set to false, only the provided corner order is considered (default true).
float cv::aruco::RefineParameters::errorCorrectionRate |
errorCorrectionRate rate of allowed erroneous bits respect to the error correction capability of the used dictionary.
-1 ignores the error correction step.
float cv::aruco::RefineParameters::minRepDistance |
minRepDistance minimum distance between the corners of the rejected candidate and the reprojected marker in order to consider it as a correspondence.