cv.approxPolyDP - MATLAB File Help
cv.approxPolyDP

Approximates a polygonal curve(s) with the specified precision

approxCurve = cv.approxPolyDP(curve)
approxCurve = cv.approxPolyDP(curve, 'OptionName', optionValue, ...)

Input

Output

Options

The function cv.approxPolyDP approximates a curve or a polygon with another curve/polygon with less vertices so that the distance between them is less or equal to the specified precision. It uses the Douglas-Peucker algorithm.

See also