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
FieldsModifier and TypeFieldDescriptionintDeprecated.Number of split and merge iterations when converting contour into polygonbooleanDeprecated.Does the contour loop?Deprecated.The minimum allowed length of a side as a fraction of the total contour lengthdoubleDeprecated.If a split adds too much energy to the contour it will be pruned.intDeprecated.Number of refine iterations.doubleDeprecated.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Checks to see if the configuration is valid.Deprecated.toString()Deprecated.Methods inherited from class boofcv.abst.shapes.polyline.BaseConfigPolyline
setToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect. -
toString
Deprecated.
-