public class PickObjectStatistics extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ANGLE |
static int |
BACKGROUND |
static int |
DEC |
static 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 |
Modifier and Type | Method and Description |
---|---|
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
|
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
|
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 String[] FIELD_NAMES
public static final int NUM_FIELDS
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 Vector getRow()
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.