OpenCV
4.7.0-dev
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()). More... | |
bool | writeRefineParameters (FileStorage &fs, const String &name=String()) |
Write a set of RefineParameters to FileStorage. More... | |
Public Attributes | |
bool | checkAllOrders |
checkAllOrders consider the four posible corner orders in the rejectedCorners array. More... | |
float | errorCorrectionRate |
minRepDistance rate of allowed erroneous bits respect to the error correction capability of the used dictionary. More... | |
float | minRepDistance |
minRepDistance minimum distance between the corners of the rejected candidate and the reprojected marker in order to consider it as a correspondence. More... | |
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 |
minRepDistance 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.