Squiz Matrix
4.12.2
|
Public Member Functions | |
void | fit (ImageProcessor ip, ImageStatistics stats) |
void | drawEllipse (ImageProcessor ip) |
void | makeRoi (ImageProcessor ip) |
Data Fields | |
double | xCenter |
double | yCenter |
double | major |
double | minor |
double | angle |
double | theta |
int[] | xCoordinates |
int[] | yCoordinates |
int | nCoordinates = 0 |
This class fits an ellipse to an ROI.
Definition at line 67 of file EllipseFitter.java.
|
inline |
Draws the ellipse on the specified image.
Definition at line 268 of file EllipseFitter.java.
|
inline |
Fits an ellipse to the current ROI. The fit parameters are returned in public fields.
Definition at line 109 of file EllipseFitter.java.
|
inline |
Generates the xCoordinates, yCoordinates public arrays that can be used to create an ROI.
Definition at line 333 of file EllipseFitter.java.
double angle |
Angle in degrees
Definition at line 84 of file EllipseFitter.java.
double major |
Length of major axis
Definition at line 78 of file EllipseFitter.java.
double minor |
Length of minor axis
Definition at line 81 of file EllipseFitter.java.
int nCoordinates = 0 |
Initialized by makeRoi()
Definition at line 94 of file EllipseFitter.java.
double theta |
Angle in radians
Definition at line 87 of file EllipseFitter.java.
double xCenter |
X centroid
Definition at line 72 of file EllipseFitter.java.
int [] xCoordinates |
Initialized by makeRoi()
Definition at line 90 of file EllipseFitter.java.
double yCenter |
X centroid
Definition at line 75 of file EllipseFitter.java.
int [] yCoordinates |
Initialized by makeRoi()
Definition at line 92 of file EllipseFitter.java.