@Namespace(value="cv::mcc") @NoOffset @Properties(inherit=opencv_mcc.class) public class DetectorParameters extends Pointer
/** \brief Parameters for the detectMarker process: - int adaptiveThreshWinSizeMin : minimum window size for adaptive thresholding before finding contours (default 23). - int adaptiveThreshWinSizeMax : maximum window size for adaptive thresholding before finding contours (default 153). - int adaptiveThreshWinSizeStep : increments from adaptiveThreshWinSizeMin to adaptiveThreshWinSizeMax during the thresholding (default 16). - double adaptiveThreshConstant : constant for adaptive thresholding before finding contours (default 7) - double minContoursAreaRate : determine minimum area for marker contour to be detected. This is defined as a rate respect to the area of the input image. Used only if neural network is used (default 0.003). - double minContoursArea : determine minimum area for marker contour to be detected. This is defined as the actual area. Used only if neural network is not used (default 100). - double confidenceThreshold : minimum confidence for a bounding box detected by neural network to classify as detection.(default 0.5) (0<=confidenceThreshold<=1) - double minContourSolidity : minimum solidity of a contour for it be detected as a square in the chart. (default 0.9). - double findCandidatesApproxPolyDPEpsMultiplier : multipler to be used in cv::ApproxPolyDP function (default 0.05) - int borderWidth : width of the padding used to pass the inital neural network detection in the succeeding system.(default 0) - float B0factor : distance between two neighbours squares of the same chart. Defined as the ratio between distance and large dimension of square (default 1.25) - float maxError : maximum allowed error in the detection of a chart. default(0.1) - int minContourPointsAllowed : minium points in a detected contour. default(4) - int minContourLengthAllowed : minimum length of a countour. default(100) - int minInterContourDistance : minimum distance between two contours. default(100) - int minInterCheckerDistance : minimum distance between two checkers. default(10000) - int minImageSize : minimum size of the smaller dimension of the image. default(1000) - unsigned minGroupSize : minimum number of a squared of a chart that must be detected. default(4)
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DetectorParameters() |
DetectorParameters(long size)
Native array allocator.
|
DetectorParameters(Pointer p)
Pointer cast constructor.
|
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
@opencv_core.Ptr public static DetectorParameters create()
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 minContoursAreaRate()
public DetectorParameters minContoursAreaRate(double setter)
public double minContoursArea()
public DetectorParameters minContoursArea(double setter)
public double confidenceThreshold()
public DetectorParameters confidenceThreshold(double setter)
public double minContourSolidity()
public DetectorParameters minContourSolidity(double setter)
public double findCandidatesApproxPolyDPEpsMultiplier()
public DetectorParameters findCandidatesApproxPolyDPEpsMultiplier(double setter)
public int borderWidth()
public DetectorParameters borderWidth(int setter)
public float B0factor()
public DetectorParameters B0factor(float setter)
public float maxError()
public DetectorParameters maxError(float setter)
public int minContourPointsAllowed()
public DetectorParameters minContourPointsAllowed(int setter)
public int minContourLengthAllowed()
public DetectorParameters minContourLengthAllowed(int setter)
public int minInterContourDistance()
public DetectorParameters minInterContourDistance(int setter)
public int minInterCheckerDistance()
public DetectorParameters minInterCheckerDistance(int setter)
public int minImageSize()
public DetectorParameters minImageSize(int setter)
public DetectorParameters minGroupSize(int setter)
Copyright © 2024. All rights reserved.