Package sc.fiji.snt

Class PathDownsampler

java.lang.Object
sc.fiji.snt.PathDownsampler

public class PathDownsampler extends Object
This is an implementation of the Ramer-Douglas-Peucker algorithm for simplifying a curve represented by line-segments, as described here
  • Constructor Details

    • PathDownsampler

      public PathDownsampler()
  • Method Details

    • downsample

      protected static ArrayList<sc.fiji.snt.SimplePoint> downsample(ArrayList<sc.fiji.snt.SimplePoint> points, double permittedDeviation)