MATLAB File Help: cv.approxPolyDP Index
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 functions cv.approxPolyDP approximate 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 http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm.