Function imageproc::geometry::approximate_polygon_dp
source · pub fn approximate_polygon_dp<T>(
curve: &[Point<T>],
epsilon: f64,
closed: bool
) -> Vec<Point<T>>
Expand description
Approximates a polygon using the Douglas–Peucker algorithm.