Click or drag to resize

DetectorParameters Class

Parameters for the detectMarker process
Inheritance Hierarchy

Namespace:  OpenCvSharp.Aruco
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public class DetectorParameters : DisposableCvObject

The DetectorParameters type exposes the following members.

Constructors
  NameDescription
Protected methodDetectorParameters
Initializes a new instance of the DetectorParameters class
Top
Properties
  NameDescription
Public propertyAdaptiveThreshConstant
constant for adaptive thresholding before finding contours (default 7)
Public propertyAdaptiveThreshWinSizeMax
adaptiveThreshWinSizeMax: maximum window size for adaptive thresholding before finding contours(default 23).
Public propertyAdaptiveThreshWinSizeMin
minimum window size for adaptive thresholding before finding contours (default 3).
Public propertyAdaptiveThreshWinSizeStep
increments from adaptiveThreshWinSizeMin to adaptiveThreshWinSizeMax during the thresholding(default 10).
Protected propertyAllocatedMemory
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.)
Protected propertyAllocatedMemorySize
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.)
Public propertyCornerRefinementMaxIterations
maximum number of iterations for stop criteria of the corner refinement process(default 30).
Public propertyCornerRefinementMinAccuracy
minimum error for the stop cristeria of the corner refinement process(default: 0.1)
Public propertyCornerRefinementWinSize
window size for the corner refinement process (in pixels) (default 5).
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.)
Public propertyErrorCorrectionRate
errorCorrectionRate error correction rate respect to the maximun error correction capability for each dictionary. (default 0.6).
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.)
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.)
Public propertyMarkerBorderBits
number of bits of the marker border, i.e. marker border width (default 1).
Public propertyMaxErroneousBitsInBorderRate
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).
Public propertyMaxMarkerPerimeterRate
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).
Public propertyMinCornerDistanceRate
minimum distance between corners for detected markers relative to its perimeter(default 0.05)
Public propertyMinDistanceToBorder
minimum distance of any corner to the image border for detected markers (in pixels) (default 3)
Public propertyMinMarkerDistanceRate
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).
Public propertyMinMarkerPerimeterRate
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).
Public propertyMinOtsuStdDev
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)
Public propertyPerspectiveRemoveIgnoredMarginPerCell
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)
Public propertyPerspectiveRemovePixelPerCell
number of bits (per dimension) for each cell of the marker when removing the perspective(default 8).
Public propertyPolygonalApproxAccuracyRate
minimum accuracy during the polygonal approximation process to determine which contours are squares.
Top
Methods
  NameDescription
Protected methodAllocGCHandle
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.)
Protected methodAllocMemory
Allocates the specified size of memory.
(Inherited from DisposableObject.)
Public methodStatic memberCreate
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Protected methodDisposeManaged
Releases managed resources
(Overrides DisposableObjectDisposeManaged.)
Protected methodDisposeUnmanaged
releases unmanaged resources
(Inherited from DisposableCvObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
(Inherited from DisposableObject.)
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fielddataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Top
See Also