ImageTraceSimplifier Class
ImageTraceSimplifier class
The ImageTraceSimplifier class is responsible reducing the number of points in a curve that is approximated by a series of the trace points.
public class ImageTraceSimplifier : IImageTraceSimplifier
Constructors
Properties
Name | Description |
---|
Tolerance { get; set; } | The value of the tolerance determines the maximum error tolerance allowed for an point to be eliminated from trace. It must be in the range from 0 to 4. Any higher or lower values will be aligned with the minimum and maximum values of this range, accordingly. The default value is 0.3. |
Methods
Name | Description |
---|
Simplify(IEnumerable<PointF>) | Reduces the number of points it the list of the trace points. |
See Also