Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ij.measure
Class SplineFitter

    java.lang.Object
      ij.measure.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 inteegrated them into the PolygonRoi class.

Constructor Summary
`SplineFitter(int[] x, int[] y, int n)`

Method Summary
`double` | `evalSpline(int[] x, int[] y, int n, double xp)` Evalutes spline function at given point

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SplineFitter

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

Method Detail

### evalSpline

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

  Evalutes spline function at given point

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD