Package boofcv.abst.shapes.polyline
Class SplitMergeLineRefine_to_PointsToPolyline
java.lang.Object
boofcv.abst.shapes.polyline.SplitMergeLineRefine_to_PointsToPolyline
- All Implemented Interfaces:
PointsToPolyline
@Deprecated
public class SplitMergeLineRefine_to_PointsToPolyline
extends Object
implements PointsToPolyline
Deprecated.
Wrapper around
SplitMergeLineFit
and other refinement algorithms for PointsToPolyline
.-
Constructor Summary
ConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.int
Deprecated.boolean
isConvex()
Deprecated.boolean
isLoop()
Deprecated.Is it configured for loops or lines?boolean
process
(List<Point2D_I32> input, DogArray_I32 vertexes) Deprecated.Computes a polyline from the set of image pixels.void
setConvex
(boolean convex) Deprecated.Specifies if the found polygons will be convex or not.void
setMaximumSides
(int maximum) Deprecated.Specifies the maximum allowed sides.void
setMinimumSides
(int minimum) Deprecated.Specifies the minimum number of sides in a polyline that's returned By default the minimum is 3.
-
Constructor Details
-
SplitMergeLineRefine_to_PointsToPolyline
Deprecated.
-
-
Method Details
-
process
Deprecated.Description copied from interface:PointsToPolyline
Computes a polyline from the set of image pixels.- Specified by:
process
in interfacePointsToPolyline
- Parameters:
input
- (Input) List of points in ordervertexes
- (Output) Indexes in the input list which are corners in the polyline- Returns:
- true if successful or false if no fit could be found which matched the requirements
-
setMinimumSides
public void setMinimumSides(int minimum) Deprecated.Description copied from interface:PointsToPolyline
Specifies the minimum number of sides in a polyline that's returned By default the minimum is 3.- Specified by:
setMinimumSides
in interfacePointsToPolyline
- Parameters:
minimum
- The minimum number of allowed vertices
-
getMinimumSides
public int getMinimumSides()Deprecated.- Specified by:
getMinimumSides
in interfacePointsToPolyline
-
setMaximumSides
public void setMaximumSides(int maximum) Deprecated.Description copied from interface:PointsToPolyline
Specifies the maximum allowed sides. How this is interpreted is implementation specific. For example, two possible interpretations are that it could abort if the number of sides is more than this or to only considered up to this number of sides. The number of found sides will never exceed this number. By default the maximum is Integer.MAX_VALUE.- Specified by:
setMaximumSides
in interfacePointsToPolyline
- Parameters:
maximum
- The maximum number of allowed vertices
-
getMaximumSides
public int getMaximumSides()Deprecated.- Specified by:
getMaximumSides
in interfacePointsToPolyline
-
isLoop
public boolean isLoop()Deprecated.Description copied from interface:PointsToPolyline
Is it configured for loops or lines?- Specified by:
isLoop
in interfacePointsToPolyline
- Returns:
- true means it assumes the input points form a loop.
-
setConvex
public void setConvex(boolean convex) Deprecated.Description copied from interface:PointsToPolyline
Specifies if the found polygons will be convex or not. If the polyline doesn't sloop this should be set to false. Default is true.- Specified by:
setConvex
in interfacePointsToPolyline
-
isConvex
public boolean isConvex()Deprecated.- Specified by:
isConvex
in interfacePointsToPolyline
-