|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectij.process.EllipseFitter
public class EllipseFitter
This class fits an ellipse to an ROI.
| Field Summary | |
|---|---|
double |
angle
Angle in degrees |
double |
major
Length of major axis |
double |
minor
Length of minor axis |
int |
nCoordinates
Initialized by makeRoi() |
double |
theta
Angle in radians |
double |
xCenter
X centroid |
int[] |
xCoordinates
Initialized by makeRoi() |
double |
yCenter
X centroid |
int[] |
yCoordinates
Initialized by makeRoi() |
| Constructor Summary | |
|---|---|
EllipseFitter()
|
|
| Method Summary | |
|---|---|
void |
drawEllipse(ImageProcessor ip)
Draws the ellipse on the specified image. |
void |
fit(ImageProcessor ip,
ImageStatistics stats)
Fits an ellipse to the current ROI. |
void |
makeRoi(ImageProcessor ip)
Generates the xCoordinates, yCoordinates public arrays that can be used to create an ROI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double xCenter
public double yCenter
public double major
public double minor
public double angle
public double theta
public int[] xCoordinates
public int[] yCoordinates
public int nCoordinates
| Constructor Detail |
|---|
public EllipseFitter()
| Method Detail |
|---|
public void fit(ImageProcessor ip,
ImageStatistics stats)
public void drawEllipse(ImageProcessor ip)
public void makeRoi(ImageProcessor ip)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||