@Deprecated public class SplitMergeLineFitLoop extends SplitMergeLineFit
SplitMergeLineFit for looped lists of points. The beginning and end of the list are
assumed to be connected. An additional check is done in the start to find two points which are far apart.| Modifier and Type | Field and Description |
|---|---|
protected int |
N
Deprecated.
|
abortSplits, changed, contour, line, maxIterations, minimumSideLength, minimumSideLengthPixel, point2D, splits, toleranceFractionSq| Constructor and Description |
|---|
SplitMergeLineFitLoop(double splitFraction,
boofcv.struct.ConfigLength minimumSplit,
int maxIterations)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
_process(java.util.List<georegression.struct.point.Point2D_I32> contour)
Deprecated.
|
protected int |
circularDistance(int start,
int end)
Deprecated.
Distance the two points are apart in clockwise direction
|
protected boolean |
mergeSegments()
Deprecated.
Merges lines together if the common corner is close to a common line
|
protected int |
selectFarthest(java.util.List<georegression.struct.point.Point2D_I32> contour)
Deprecated.
Computes the distance between pairs of points which are separated by 1/2 the contour list.
|
protected int |
selectSplitOffset(int indexStart,
int length)
Deprecated.
Finds the point between indexStart and the end point which is the greater distance from the line
(set up prior to calling).
|
protected void |
splitPixels(int indexStart,
int length)
Deprecated.
Recursively splits pixels between indexStart to indexStart+length.
|
protected boolean |
splitSegments()
Deprecated.
Splits a line in two if there is a point that is too far away
|
getAbortSplits, process, setAbortSplits, setMaxIterations, setSplitFraction, splitThresholdSqpublic SplitMergeLineFitLoop(double splitFraction,
boofcv.struct.ConfigLength minimumSplit,
int maxIterations)
public boolean _process(java.util.List<georegression.struct.point.Point2D_I32> contour)
_process in class SplitMergeLineFitprotected void splitPixels(int indexStart,
int length)
protected int selectFarthest(java.util.List<georegression.struct.point.Point2D_I32> contour)
protected boolean mergeSegments()
protected boolean splitSegments()
protected int selectSplitOffset(int indexStart,
int length)
protected int circularDistance(int start,
int end)