OpenCV  4.7.0-dev
Open Source Computer Vision
Public Member Functions | Public Attributes | List of all members

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...
 

Detailed Description

struct RefineParameters is used by ArucoDetector

Constructor & Destructor Documentation

◆ RefineParameters()

cv::aruco::RefineParameters::RefineParameters ( float  minRepDistance = 10.f,
float  errorCorrectionRate = 3.f,
bool  checkAllOrders = true 
)

Member Function Documentation

◆ readRefineParameters()

bool cv::aruco::RefineParameters::readRefineParameters ( const FileNode fn)

Read a new set of RefineParameters from FileNode (use FileStorage.root()).

◆ writeRefineParameters()

bool cv::aruco::RefineParameters::writeRefineParameters ( FileStorage fs,
const String name = String() 
)

Write a set of RefineParameters to FileStorage.

Member Data Documentation

◆ checkAllOrders

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).

◆ errorCorrectionRate

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.

◆ minRepDistance

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.


The documentation for this struct was generated from the following file: