Class Dictionary
- Namespace
- OpenCvSharp.Aruco
- Assembly
- OpenCvSharp.dll
Dictionary/Set of markers. It contains the inner codification
public class Dictionary : CvObject, IDisposable
- Inheritance
-
Dictionary
- Implements
- Inherited Members
Constructors
- Dictionary()
Creates an empty dictionary.
- Dictionary(Mat, int, int)
Basic ArUco dictionary constructor
Properties
- BytesList
Marker code information
- MarkerSize
Number of bits per dimension.
- MaxCorrectionBits
Maximum number of bits that can be corrected.
Methods
- GenerateImageMarker(int, int, OutputArray, int)
Generate a canonical marker image
- GetBitsFromByteList(Mat, int, int)
Transform list of bytes to matrix of bits
- GetByteListFromBits(Mat)
Transform matrix of bits to list of bytes in the 4 rotations
- GetDistanceToId(InputArray, int, bool)
Returns the distance of the input bits to the specific id. If allRotations is true, the four possible bits rotation are considered
- GetMarkerBits(int, int)
Get ground truth bits float
- Identify(Mat, out int, out int, double)
Given a matrix of bits. Returns whether if marker is identified or not. It returns by reference the correct id (if any) and the correct rotation
- Identify(Mat, out int, out int, double, float)
Given a matrix of pixel ratio ranging from 0 to 1. Returns whether if marker is identified or not. It returns by reference the correct id (if any) and the correct rotation
- ReadDictionary(FileNode)
Read a new dictionary from FileNode.
- WriteDictionary(FileStorage, string)
Write a dictionary to FileStorage, format is the same as in ReadDictionary().