Documentation of 'ij.process.EllipseFitter' Java class
EllipseFitter
ij.process

Class EllipseFitter



  • public class EllipseFitter
    extends java.lang.Object
    This class fits an ellipse to an ROI.
    • Field Detail

      • xCenter

        public double xCenter
        X centroid
      • yCenter

        public double yCenter
        X centroid
      • major

        public double major
        Length of major axis
      • minor

        public double minor
        Length of minor axis
      • angle

        public double angle
        Angle in degrees
      • theta

        public double theta
        Angle in radians
      • xCoordinates

        public int[] xCoordinates
        Initialized by makeRoi()
      • yCoordinates

        public int[] yCoordinates
        Initialized by makeRoi()
      • nCoordinates

        public int nCoordinates
        Initialized by makeRoi()
    • Constructor Detail

      • EllipseFitter

        public EllipseFitter()
    • Method Detail

      • fit

        public void fit(ImageProcessor ip,
                        ImageStatistics stats)
        Fits an ellipse to the current ROI. The 'stats' argument, currently not used, can be null. The fit parameters are returned in public fields.
      • drawEllipse

        public void drawEllipse(ImageProcessor ip)
        Draws the ellipse on the specified image.
      • makeRoi

        public void makeRoi(ImageProcessor ip)
        Generates the xCoordinates, yCoordinates public arrays that can be used to create an ROI.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.