CvInvokeApproxPolyDP Method |
http://www.emgu.com
Approximates a polygonal curve(s) with the specified precision.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void ApproxPolyDP(
IInputArray curve,
IOutputArray approxCurve,
double epsilon,
bool closed
)
Public Shared Sub ApproxPolyDP (
curve As IInputArray,
approxCurve As IOutputArray,
epsilon As Double,
closed As Boolean
)
public:
static void ApproxPolyDP(
IInputArray^ curve,
IOutputArray^ approxCurve,
double epsilon,
bool closed
)
static member ApproxPolyDP :
curve : IInputArray *
approxCurve : IOutputArray *
epsilon : float *
closed : bool -> unit
Parameters
- curve
- Type: Emgu.CVIInputArray
Input vector of a 2D point - approxCurve
- Type: Emgu.CVIOutputArray
Result of the approximation. The type should match the type of the input curve. - epsilon
- Type: SystemDouble
Parameter specifying the approximation accuracy. This is the maximum distance between the original curve and its approximation. - closed
- Type: SystemBoolean
If true, the approximated curve is closed (its first and last vertices are connected). Otherwise, it is not closed.
See Also