Documentation of 'ij.measure.SplineFitter' Java class
SplineFitter
ij.measure

Class SplineFitter



  • public class SplineFitter
    extends java.lang.Object
    This class fits a spline function to a set of points. It is based on the InitSpline() and EvalSine() functions from XY (http://www.trilon.com/xv/), an interactive image manipulation program for the X Window System written by John Bradley. Eric Kischell (keesh@ieee.org) converted these functions to Java and integrated them into the PolygonRoi class.
    • Constructor Summary

      Constructors 
      Constructor and Description
      SplineFitter(float[] x, float[] y, int n) 
      SplineFitter(float[] x, float[] y, int n, boolean closed)
      For closed curves: the first and last y value should be identical; internally, a periodic continuation with a few will be used at both ends
      SplineFitter(int[] x, int[] y, int n) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double evalSpline(double xp)
      Evalutes spline function at given point
      double evalSpline(float[] x, float[] y, int n, double xp) 
      double evalSpline(int[] x, int[] y, int n, double xp) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SplineFitter

        public SplineFitter(int[] x,
                            int[] y,
                            int n)
      • SplineFitter

        public SplineFitter(float[] x,
                            float[] y,
                            int n,
                            boolean closed)
        For closed curves: the first and last y value should be identical; internally, a periodic continuation with a few will be used at both ends
      • SplineFitter

        public SplineFitter(float[] x,
                            float[] y,
                            int n)
    • Method Detail

      • evalSpline

        public double evalSpline(double xp)
        Evalutes spline function at given point
      • evalSpline

        public double evalSpline(int[] x,
                                 int[] y,
                                 int n,
                                 double xp)
      • evalSpline

        public double evalSpline(float[] x,
                                 float[] y,
                                 int n,
                                 double xp)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.