Class SplitMergeLineFitSegment
java.lang.Object
boofcv.alg.shapes.polyline.splitmerge.SplitMergeLineFit
boofcv.alg.shapes.polyline.splitmerge.SplitMergeLineFitSegment
Deprecated.
Implementation of
SplitMergeLineFit for lists in which the end points are not connected.-
Field Summary
Fields inherited from class boofcv.alg.shapes.polyline.splitmerge.SplitMergeLineFit
abortSplits, changed, contour, line, maxIterations, minimumSideLength, minimumSideLengthPixel, point2D, splits, toleranceFractionSq -
Constructor Summary
ConstructorsConstructorDescriptionSplitMergeLineFitSegment(double splitFraction, ConfigLength minimumSplit, int maxIterations) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean_process(List<Point2D_I32> list) Deprecated.protected booleanDeprecated.Merges lines together which have an acute angle less than the threshold.protected intselectSplitBetween(int indexStart, int indexEnd) Deprecated.Finds the point between indexStart and the end point which is the greater distance from the line (set up prior to calling).protected voidsplitPixels(int indexStart, int indexStop) Deprecated.Recursively splits pixels.protected booleanDeprecated.Splits a line in two if there is a paint that is too far awayMethods inherited from class boofcv.alg.shapes.polyline.splitmerge.SplitMergeLineFit
getAbortSplits, process, setAbortSplits, setMaxIterations, setSplitFraction, splitThresholdSq
-
Constructor Details
-
SplitMergeLineFitSegment
Deprecated.
-
-
Method Details
-
_process
Deprecated.- Specified by:
_processin classSplitMergeLineFit
-
splitPixels
protected void splitPixels(int indexStart, int indexStop) Deprecated.Recursively splits pixels. Used in the initial segmentation. Only split points between the two ends are added -
splitSegments
protected boolean splitSegments()Deprecated.Splits a line in two if there is a paint that is too far away- Returns:
- true for change
-
selectSplitBetween
protected int selectSplitBetween(int indexStart, int indexEnd) Deprecated.Finds the point between indexStart and the end point which is the greater distance from the line (set up prior to calling). Returns the index if the distance is less than tolerance, otherwise -1 -
mergeSegments
protected boolean mergeSegments()Deprecated.Merges lines together which have an acute angle less than the threshold.- Returns:
- true the list being changed
-