Parameters for the detectMarker process:
More...
#include "aruco.hpp"
Parameters for the detectMarker process:
- adaptiveThreshWinSizeMin: minimum window size for adaptive thresholding before finding contours (default 3).
- adaptiveThreshWinSizeMax: maximum window size for adaptive thresholding before finding contours (default 23).
- adaptiveThreshWinSizeStep: increments from adaptiveThreshWinSizeMin to adaptiveThreshWinSizeMax during the thresholding (default 10).
- adaptiveThreshConstant: constant for adaptive thresholding before finding contours (default 7)
- minMarkerPerimeterRate: determine minimum perimeter for marker contour to be detected. This is defined as a rate respect to the maximum dimension of the input image (default 0.03).
- maxMarkerPerimeterRate: determine maximum perimeter for marker contour to be detected. This is defined as a rate respect to the maximum dimension of the input image (default 4.0).
- polygonalApproxAccuracyRate: minimum accuracy during the polygonal approximation process to determine which contours are squares.
- minCornerDistanceRate: minimum distance between corners for detected markers relative to its perimeter (default 0.05)
- minDistanceToBorder: minimum distance of any corner to the image border for detected markers (in pixels) (default 3)
- minMarkerDistanceRate: minimum mean distance beetween two marker corners to be considered similar, so that the smaller one is removed. The rate is relative to the smaller perimeter of the two markers (default 0.05).
- doCornerRefinement: do subpixel refinement or not
- cornerRefinementWinSize: window size for the corner refinement process (in pixels) (default 5).
- cornerRefinementMaxIterations: maximum number of iterations for stop criteria of the corner refinement process (default 30).
- cornerRefinementMinAccuracy: minimum error for the stop cristeria of the corner refinement process (default: 0.1)
- markerBorderBits: number of bits of the marker border, i.e. marker border width (default 1).
- perpectiveRemovePixelPerCell: number of bits (per dimension) for each cell of the marker when removing the perspective (default 8).
- perspectiveRemoveIgnoredMarginPerCell: width of the margin of pixels on each cell not considered for the determination of the cell bit. Represents the rate respect to the total size of the cell, i.e. perpectiveRemovePixelPerCell (default 0.13)
- maxErroneousBitsInBorderRate: maximum number of accepted erroneous bits in the border (i.e. number of allowed white bits in the border). Represented as a rate respect to the total number of bits per marker (default 0.35).
- minOtsuStdDev: minimun standard deviation in pixels values during the decodification step to apply Otsu thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher than 128 or not) (default 5.0)
- errorCorrectionRate error correction rate respect to the maximun error correction capability for each dictionary. (default 0.6).
cv::aruco::DetectorParameters::DetectorParameters |
( |
| ) |
|
double cv::aruco::DetectorParameters::adaptiveThreshConstant |
int cv::aruco::DetectorParameters::adaptiveThreshWinSizeMax |
int cv::aruco::DetectorParameters::adaptiveThreshWinSizeMin |
int cv::aruco::DetectorParameters::adaptiveThreshWinSizeStep |
int cv::aruco::DetectorParameters::cornerRefinementMaxIterations |
double cv::aruco::DetectorParameters::cornerRefinementMinAccuracy |
int cv::aruco::DetectorParameters::cornerRefinementWinSize |
bool cv::aruco::DetectorParameters::doCornerRefinement |
double cv::aruco::DetectorParameters::errorCorrectionRate |
int cv::aruco::DetectorParameters::markerBorderBits |
double cv::aruco::DetectorParameters::maxErroneousBitsInBorderRate |
double cv::aruco::DetectorParameters::maxMarkerPerimeterRate |
double cv::aruco::DetectorParameters::minCornerDistanceRate |
int cv::aruco::DetectorParameters::minDistanceToBorder |
double cv::aruco::DetectorParameters::minMarkerDistanceRate |
double cv::aruco::DetectorParameters::minMarkerPerimeterRate |
double cv::aruco::DetectorParameters::minOtsuStdDev |
double cv::aruco::DetectorParameters::perspectiveRemoveIgnoredMarginPerCell |
int cv::aruco::DetectorParameters::perspectiveRemovePixelPerCell |
double cv::aruco::DetectorParameters::polygonalApproxAccuracyRate |
The documentation for this struct was generated from the following file:
- /build/master-contrib_docs-mac/opencv_contrib/modules/aruco/include/opencv2/aruco.hpp