Package boofcv.factory.shape
Class ConfigSplitMergeLineFit
java.lang.Object
boofcv.abst.shapes.polyline.BaseConfigPolyline
boofcv.factory.shape.ConfigSplitMergeLineFit
- All Implemented Interfaces:
Configuration
,Serializable
Deprecated.
Configuration for
SplitMergeLineFitLoop
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
Deprecated.Number of split and merge iterations when converting contour into polygonboolean
Deprecated.Does the contour loop?Deprecated.The minimum allowed length of a side as a fraction of the total contour lengthdouble
Deprecated.If a split adds too much energy to the contour it will be pruned.int
Deprecated.Number of refine iterations.double
Deprecated.A line is split if a point along the contour between the two end points has a distance from the line which is greater than this fraction of the line's lengthFields inherited from class boofcv.abst.shapes.polyline.BaseConfigPolyline
convex, loops, maximumSides, minimumSides
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Checks to see if the configuration is valid.Deprecated.toString()
Deprecated.Methods inherited from class boofcv.abst.shapes.polyline.BaseConfigPolyline
setTo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
splitFraction
public double splitFractionDeprecated.A line is split if a point along the contour between the two end points has a distance from the line which is greater than this fraction of the line's length -
iterations
public int iterationsDeprecated.Number of split and merge iterations when converting contour into polygon -
refine
public int refineDeprecated.Number of refine iterations. Set to 0 to disable.- See Also:
-
pruneSplitPenalty
public double pruneSplitPenaltyDeprecated.If a split adds too much energy to the contour it will be pruned. Disable by setting to a value ≤ 0- See Also:
-
minimumSide
Deprecated.The minimum allowed length of a side as a fraction of the total contour length -
loop
public boolean loopDeprecated.Does the contour loop?
-
-
Constructor Details
-
ConfigSplitMergeLineFit
public ConfigSplitMergeLineFit()Deprecated.
-
-
Method Details
-
setTo
Deprecated. -
checkValidity
public void checkValidity()Deprecated.Description copied from interface:Configuration
Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect. -
toString
Deprecated.
-