@Namespace(value="cv::aruco") @NoOffset @Properties(inherit=opencv_objdetect.class) public class DetectorParameters extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DetectorParameters() |
DetectorParameters(long size)
Native array allocator.
|
DetectorParameters(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
adaptiveThreshConstant()
constant for adaptive thresholding before finding contours (default 7)
|
DetectorParameters |
adaptiveThreshConstant(double setter) |
int |
adaptiveThreshWinSizeMax()
maximum window size for adaptive thresholding before finding contours (default 23).
|
DetectorParameters |
adaptiveThreshWinSizeMax(int setter) |
int |
adaptiveThreshWinSizeMin()
minimum window size for adaptive thresholding before finding contours (default 3).
|
DetectorParameters |
adaptiveThreshWinSizeMin(int setter) |
int |
adaptiveThreshWinSizeStep()
increments from adaptiveThreshWinSizeMin to adaptiveThreshWinSizeMax during the thresholding (default 10).
|
DetectorParameters |
adaptiveThreshWinSizeStep(int setter) |
float |
aprilTagCriticalRad()
\brief reject quads where pairs of edges have angles that are close to straight or close to 180 degrees.
|
DetectorParameters |
aprilTagCriticalRad(float setter) |
int |
aprilTagDeglitch()
should the thresholded image be deglitched? Only useful for very noisy images (default 0).
|
DetectorParameters |
aprilTagDeglitch(int setter) |
float |
aprilTagMaxLineFitMse()
when fitting lines to the contours, what is the maximum mean squared error
|
DetectorParameters |
aprilTagMaxLineFitMse(float setter) |
int |
aprilTagMaxNmaxima()
how many corner candidates to consider when segmenting a group of pixels into a quad (default 10).
|
DetectorParameters |
aprilTagMaxNmaxima(int setter) |
int |
aprilTagMinClusterPixels()
reject quads containing too few pixels (default 5).
|
DetectorParameters |
aprilTagMinClusterPixels(int setter) |
int |
aprilTagMinWhiteBlackDiff()
\brief add an extra check that the white model must be (overall) brighter than the black model.
|
DetectorParameters |
aprilTagMinWhiteBlackDiff(int setter) |
float |
aprilTagQuadDecimate()
\brief April :: User-configurable parameters.
|
DetectorParameters |
aprilTagQuadDecimate(float setter) |
float |
aprilTagQuadSigma()
what Gaussian blur should be applied to the segmented image (used for quad detection?)
|
DetectorParameters |
aprilTagQuadSigma(float setter) |
int |
cornerRefinementMaxIterations()
maximum number of iterations for stop criteria of the corner refinement process (default 30).
|
DetectorParameters |
cornerRefinementMaxIterations(int setter) |
int |
cornerRefinementMethod()
\brief default value CORNER_REFINE_NONE
|
DetectorParameters |
cornerRefinementMethod(int setter) |
double |
cornerRefinementMinAccuracy()
minimum error for the stop cristeria of the corner refinement process (default: 0.1)
|
DetectorParameters |
cornerRefinementMinAccuracy(double setter) |
int |
cornerRefinementWinSize()
\brief maximum window size for the corner refinement process (in pixels) (default 5).
|
DetectorParameters |
cornerRefinementWinSize(int setter) |
boolean |
detectInvertedMarker()
\brief to check if there is a white marker.
|
DetectorParameters |
detectInvertedMarker(boolean setter) |
double |
errorCorrectionRate()
error correction rate respect to the maximun error correction capability for each dictionary (default 0.6).
|
DetectorParameters |
errorCorrectionRate(double setter) |
DetectorParameters |
getPointer(long i) |
int |
markerBorderBits()
number of bits of the marker border, i.e.
|
DetectorParameters |
markerBorderBits(int setter) |
double |
maxErroneousBitsInBorderRate()
\brief maximum number of accepted erroneous bits in the border (i.e.
|
DetectorParameters |
maxErroneousBitsInBorderRate(double setter) |
double |
maxMarkerPerimeterRate()
\brief determine maximum perimeter for marker contour to be detected.
|
DetectorParameters |
maxMarkerPerimeterRate(double setter) |
double |
minCornerDistanceRate()
minimum distance between corners for detected markers relative to its perimeter (default 0.05)
|
DetectorParameters |
minCornerDistanceRate(double setter) |
int |
minDistanceToBorder()
minimum distance of any corner to the image border for detected markers (in pixels) (default 3)
|
DetectorParameters |
minDistanceToBorder(int setter) |
float |
minGroupDistance()
\brief minimum average distance between the corners of the two markers in group to add them to the list of candidates
The average distance between the corners of the two markers is calculated relative to its module size (default 0.21).
|
DetectorParameters |
minGroupDistance(float setter) |
double |
minMarkerDistanceRate()
\brief minimum average distance between the corners of the two markers to be grouped (default 0.125).
|
DetectorParameters |
minMarkerDistanceRate(double setter) |
float |
minMarkerLengthRatioOriginalImg()
range [0,1], eq (2) from paper.
|
DetectorParameters |
minMarkerLengthRatioOriginalImg(float setter) |
double |
minMarkerPerimeterRate()
\brief determine minimum perimeter for marker contour to be detected.
|
DetectorParameters |
minMarkerPerimeterRate(double setter) |
double |
minOtsuStdDev()
\brief 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)
|
DetectorParameters |
minOtsuStdDev(double setter) |
int |
minSideLengthCanonicalImg()
minimum side length of a marker in the canonical image.
|
DetectorParameters |
minSideLengthCanonicalImg(int setter) |
double |
perspectiveRemoveIgnoredMarginPerCell()
\brief width of the margin of pixels on each cell not considered for the determination of the cell bit.
|
DetectorParameters |
perspectiveRemoveIgnoredMarginPerCell(double setter) |
int |
perspectiveRemovePixelPerCell()
number of bits (per dimension) for each cell of the marker when removing the perspective (default 4).
|
DetectorParameters |
perspectiveRemovePixelPerCell(int setter) |
double |
polygonalApproxAccuracyRate()
minimum accuracy during the polygonal approximation process to determine which contours are squares.
|
DetectorParameters |
polygonalApproxAccuracyRate(double setter) |
DetectorParameters |
position(long position) |
boolean |
readDetectorParameters(FileNode fn)
\brief Read a new set of DetectorParameters from FileNode (use FileStorage.root()).
|
float |
relativeCornerRefinmentWinSize()
\brief Dynamic window size for corner refinement relative to Aruco module size (default 0.3).
|
DetectorParameters |
relativeCornerRefinmentWinSize(float setter) |
boolean |
useAruco3Detection()
\brief enable the new and faster Aruco detection strategy.
|
DetectorParameters |
useAruco3Detection(boolean setter) |
boolean |
writeDetectorParameters(FileStorage fs) |
boolean |
writeDetectorParameters(FileStorage fs,
BytePointer name)
\brief Write a set of DetectorParameters to FileStorage
|
boolean |
writeDetectorParameters(FileStorage fs,
String name) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public DetectorParameters(Pointer p)
Pointer(Pointer)
.public DetectorParameters(long size)
Pointer.position(long)
.public DetectorParameters()
public DetectorParameters position(long position)
public DetectorParameters getPointer(long i)
getPointer
in class Pointer
@Cast(value="bool") public boolean readDetectorParameters(@Const @ByRef FileNode fn)
@Cast(value="bool") public boolean writeDetectorParameters(@ByRef FileStorage fs, @opencv_core.Str BytePointer name)
@Cast(value="bool") public boolean writeDetectorParameters(@ByRef FileStorage fs)
@Cast(value="bool") public boolean writeDetectorParameters(@ByRef FileStorage fs, @opencv_core.Str String name)
public int adaptiveThreshWinSizeMin()
public DetectorParameters adaptiveThreshWinSizeMin(int setter)
public int adaptiveThreshWinSizeMax()
public DetectorParameters adaptiveThreshWinSizeMax(int setter)
public int adaptiveThreshWinSizeStep()
public DetectorParameters adaptiveThreshWinSizeStep(int setter)
public double adaptiveThreshConstant()
public DetectorParameters adaptiveThreshConstant(double setter)
public double minMarkerPerimeterRate()
public DetectorParameters minMarkerPerimeterRate(double setter)
public double maxMarkerPerimeterRate()
public DetectorParameters maxMarkerPerimeterRate(double setter)
public double polygonalApproxAccuracyRate()
public DetectorParameters polygonalApproxAccuracyRate(double setter)
public double minCornerDistanceRate()
public DetectorParameters minCornerDistanceRate(double setter)
public int minDistanceToBorder()
public DetectorParameters minDistanceToBorder(int setter)
public double minMarkerDistanceRate()
minGroupDistance.
public DetectorParameters minMarkerDistanceRate(double setter)
public float minGroupDistance()
public DetectorParameters minGroupDistance(float setter)
public int cornerRefinementMethod()
public DetectorParameters cornerRefinementMethod(int setter)
public int cornerRefinementWinSize()
public DetectorParameters cornerRefinementWinSize(int setter)
public float relativeCornerRefinmentWinSize()
public DetectorParameters relativeCornerRefinmentWinSize(float setter)
public int cornerRefinementMaxIterations()
public DetectorParameters cornerRefinementMaxIterations(int setter)
public double cornerRefinementMinAccuracy()
public DetectorParameters cornerRefinementMinAccuracy(double setter)
public int markerBorderBits()
public DetectorParameters markerBorderBits(int setter)
public int perspectiveRemovePixelPerCell()
public DetectorParameters perspectiveRemovePixelPerCell(int setter)
public double perspectiveRemoveIgnoredMarginPerCell()
public DetectorParameters perspectiveRemoveIgnoredMarginPerCell(double setter)
public double maxErroneousBitsInBorderRate()
public DetectorParameters maxErroneousBitsInBorderRate(double setter)
public double minOtsuStdDev()
public DetectorParameters minOtsuStdDev(double setter)
public double errorCorrectionRate()
public DetectorParameters errorCorrectionRate(double setter)
public float aprilTagQuadDecimate()
public DetectorParameters aprilTagQuadDecimate(float setter)
public float aprilTagQuadSigma()
public DetectorParameters aprilTagQuadSigma(float setter)
public int aprilTagMinClusterPixels()
public DetectorParameters aprilTagMinClusterPixels(int setter)
public int aprilTagMaxNmaxima()
public DetectorParameters aprilTagMaxNmaxima(int setter)
public float aprilTagCriticalRad()
public DetectorParameters aprilTagCriticalRad(float setter)
public float aprilTagMaxLineFitMse()
public DetectorParameters aprilTagMaxLineFitMse(float setter)
public int aprilTagMinWhiteBlackDiff()
public DetectorParameters aprilTagMinWhiteBlackDiff(int setter)
public int aprilTagDeglitch()
public DetectorParameters aprilTagDeglitch(int setter)
@Cast(value="bool") public boolean detectInvertedMarker()
public DetectorParameters detectInvertedMarker(boolean setter)
@Cast(value="bool") public boolean useAruco3Detection()
public DetectorParameters useAruco3Detection(boolean setter)
public int minSideLengthCanonicalImg()
public DetectorParameters minSideLengthCanonicalImg(int setter)
public float minMarkerLengthRatioOriginalImg()
public DetectorParameters minMarkerLengthRatioOriginalImg(float setter)
Copyright © 2024. All rights reserved.