Package boofcv.factory.shape
Class ConfigEllipseDetector
java.lang.Object
boofcv.factory.shape.ConfigEllipseDetector
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
BinaryEllipseDetector
for use in FactoryShapeDetector
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
Check:
Tangential distance away from contour the image is sampled when performing edge intensity check.Pixel connectivity rule for blob/contour finder.double
Refinement: when the difference between two ellipses is less than this amount stop iteratingdouble
Detector: maximum distance from the ellipse in pixelsDetector: maximum number of pixels in the contour.int
Refinement: maximum number of refinement iterations.double
The maximum ratio between the major to minor ratioDetector: minimum number of pixels in the contour.double
Check:
Threshold for minimum edge intensity.final ConfigLength
Minimum number of pixels in the minor axis.int
Refinement: how many points along the contour it will sample.boolean
Detector: If true it will consider internal contours and not just externalint
Refinement:
Determines the number of points sampled radially outwards from the line Total intensity values sampled at each point along the line is radius*2+2, and points added to line fitting is radius*2+1. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
maxDistanceFromEllipse
public double maxDistanceFromEllipseDetector: maximum distance from the ellipse in pixels -
minimumContour
Detector: minimum number of pixels in the contour. -
maximumContour
Detector: maximum number of pixels in the contour. -
contourRule
Pixel connectivity rule for blob/contour finder. -
minimumMinorAxis
Minimum number of pixels in the minor axis. Relative to (w+h)/2 -
processInternal
public boolean processInternalDetector: If true it will consider internal contours and not just external -
maxIterations
public int maxIterationsRefinement: maximum number of refinement iterations. Set to zero to disable -
convergenceTol
public double convergenceTolRefinement: when the difference between two ellipses is less than this amount stop iterating -
numSampleContour
public int numSampleContourRefinement: how many points along the contour it will sample. Set to ≤ 0 to disable refinement -
refineRadialSamples
public int refineRadialSamplesRefinement:
Determines the number of points sampled radially outwards from the line Total intensity values sampled at each point along the line is radius*2+2, and points added to line fitting is radius*2+1. -
minimumEdgeIntensity
public double minimumEdgeIntensityCheck:
Threshold for minimum edge intensity. This should be a value which is 0 to (max-min pixel value) Set to ≤ 0 to disable check. -
checkRadialDistance
public double checkRadialDistanceCheck:
Tangential distance away from contour the image is sampled when performing edge intensity check. -
maxMajorToMinorRatio
public double maxMajorToMinorRatioThe maximum ratio between the major to minor ratio
-
-
Constructor Details
-
ConfigEllipseDetector
public ConfigEllipseDetector()
-
-
Method Details
-
setTo
-
checkValidity
public void checkValidity()Description copied from interface:Configuration
Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidity
in interfaceConfiguration
-