public class ConfigPolylineSplitMerge extends ConfigPolyline
PolylineSplitMerge| Modifier and Type | Field and Description |
|---|---|
double |
convexTest
If the contour between two corners is longer than this multiple of the distance
between the two corners then it will be rejected as not convex.
|
double |
cornerScorePenalty
Used to adjust the penalty for adding a new corner.
|
boofcv.struct.ConfigLength |
extraConsider
How many corners past the max it will fit a polygon to.
|
int |
maxNumberOfSideSamples
maximum number of points along a side it will sample when computing a score
used to limit computational cost of large contours
|
boofcv.struct.ConfigLength |
maxSideError
Maximum allowed error along a single side in Eclidean distance in pixels.
|
int |
minimumSideLength
The minimum length of a side
|
int |
refineIterations
Extra refinement that it does after the initial polyline has been found.
|
double |
thresholdSideSplitScore
If the error forside is less than this it is considered a perfect fit and the side won't be split.
|
convex, loops, maximumSides, minimumSides| Constructor and Description |
|---|
ConfigPolylineSplitMerge() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValidity() |
java.lang.String |
toString() |
public int minimumSideLength
public boofcv.struct.ConfigLength extraConsider
public double cornerScorePenalty
public double thresholdSideSplitScore
public int maxNumberOfSideSamples
public double convexTest
public boofcv.struct.ConfigLength maxSideError
public int refineIterations