public class PathDownsampler extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
This is an implementation of the Ramer-Douglas-Peucker algorithm for simplifying a curve represented by line-segments, as described here: http://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm
public static ArrayList<tracing.SimplePoint> downsample(ArrayList<tracing.SimplePoint> points, double permittedDeviation)
Copyright © 2015–2017 Fiji. All rights reserved.