|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsky.image.gui.PickObjectStatistics
public class PickObjectStatistics
Gathers statistics about a given area of the image using a centroid algorithm.
Field Summary | |
---|---|
static int |
ANGLE
|
static int |
BACKGROUND
|
static int |
DEC
|
static java.lang.String[] |
FIELD_NAMES
The names of the fields returned by the getRow() or getFields() methods. |
static int |
FWHM_X
|
static int |
FWHM_Y
|
static int |
ID
|
static int |
IMAGE_X
|
static int |
IMAGE_Y
|
static int |
NUM_FIELDS
The number of columns or fields returned by the getRow() or getFields() methods. |
static int |
PEAK
|
static int |
RA
|
Method Summary | |
---|---|
void |
calculateStatistics(int x,
int y,
int w,
int h)
Find the center of the object at the given x,y user coordinates using a centroid algorithm and gather statistics on the image object. |
double |
getAngle()
angle of major axis, degrees, along X |
WorldCoords |
getCenterPos()
The calculated centroid position |
static FieldDesc[] |
getFields()
Return an array of objects describing the columns returned by getRow(). |
double |
getFwhmX()
FWHM in X |
double |
getFwhmY()
FWHM in Y |
double |
getImageX()
The center X position in image coordinates |
double |
getImageY()
The center Y position in image coordinates |
double |
getMeanBackground()
mean background level |
double |
getObjectPeak()
peak value of object above background |
java.util.Vector |
getRow()
Return a vector containing the information in this object that can be used to add a row to a catalog table. |
boolean |
getStatus()
Return the status of the last pick operation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ID
public static final int RA
public static final int DEC
public static final int IMAGE_X
public static final int IMAGE_Y
public static final int FWHM_X
public static final int FWHM_Y
public static final int ANGLE
public static final int PEAK
public static final int BACKGROUND
public static final java.lang.String[] FIELD_NAMES
public static final int NUM_FIELDS
Method Detail |
---|
public WorldCoords getCenterPos()
public double getImageX()
public double getImageY()
public double getFwhmX()
public double getFwhmY()
public double getAngle()
public double getObjectPeak()
public double getMeanBackground()
public boolean getStatus()
public void calculateStatistics(int x, int y, int w, int h)
x
- the X user coordinate origin of the region of the image to examiney
- the Y user coordinate origin of the region of the image to examinew
- the width in user coordinates of the area of the image to examineh
- the height in user coordinates of the area of the image to examinepublic static FieldDesc[] getFields()
public java.util.Vector getRow()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |