|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.util.OperationObservable | +--net.aerith.misao.util.Operation | +--net.aerith.misao.pixy.limiting_mag.DefaultLimitingValueEstimator
The DefaultLimitingValueEstimator
is a class to
estimate the threshold of the amount of pixel values between the
real star images and the noises, based on the pairing ratio between
detected stars and catalog data.
The Star
data in the specified list must have the
link to the StarPair
which contains the data itself.
The list is sorted in the constructor.
Field Summary | |
protected int |
average_window_size
The window size to calculate the moving average. |
protected double |
limiting_ratio
The threshold ratio to limit the array size for mean index calculation. |
protected StarList |
list
The list of stars. |
protected int |
minimum_window_size
The minimum window size to calculate the moving average. |
protected int |
mode
The mode. |
static int |
MODE_BASED_ON_MAGNITUDE
The number of mode which represents to process based on the magnitude. |
static int |
MODE_BASED_ON_PIXEL_VALUE
The number of mode which represents to process based on the pixel value. |
protected int |
policy
The policy. |
static int |
POLICY_LIMITING
The number of policy which represents to estimate the limiting magnitude. |
static int |
POLICY_UPPERLIMIT
The number of policy which represents to estimate the upper-limit magnitude. |
protected double |
threshold
The threshold of the amount of pixel values. |
protected double |
threshold_ratio
The threshold ratio to determine the limiting pixel values. |
Fields inherited from class net.aerith.misao.util.Operation |
monitor_set,
stopped |
Fields inherited from class net.aerith.misao.util.OperationObservable |
observer_list |
Constructor Summary | |
DefaultLimitingValueEstimator(StarList list)
Constructs a DefaultLimitingValueEstimator with the
list of Star data. |
Method Summary | |
double |
getThreshold()
Gets the threshold of the amount of pixel values. |
void |
operate()
Operates. |
boolean |
ready()
Returns true if the operation is ready to start. |
void |
setMinimumWindowSize(int new_window_size)
Sets the minimum window size to calculate the moving average. |
void |
setMode(int mode)
Sets the mode. |
void |
setMovingAverageWindowSize(int new_window_size)
Sets the window size to calculate the moving average. |
void |
setPolicy(int policy)
Sets the policy. |
void |
setThresholdRatio(double new_threshold_ratio)
Sets the threshold ratio to determine the limiting pixel values. |
Methods inherited from class net.aerith.misao.util.Operation |
addMonitor,
isStopped,
perform,
run,
stop |
Methods inherited from class net.aerith.misao.util.OperationObservable |
addObserver,
deleteObserver,
notifyEnd,
notifyFailed,
notifyStart,
notifySucceeded,
notifyWarned |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected StarList list
protected int average_window_size
protected int minimum_window_size
protected double threshold_ratio
protected double limiting_ratio
protected double threshold
public static final int MODE_BASED_ON_MAGNITUDE
public static final int MODE_BASED_ON_PIXEL_VALUE
protected int mode
public static final int POLICY_LIMITING
public static final int POLICY_UPPERLIMIT
protected int policy
Constructor Detail |
public DefaultLimitingValueEstimator(StarList list)
DefaultLimitingValueEstimator
with the
list of Star
data.list
- the list of stars.Method Detail |
public void setMode(int mode)
mode
- the mode.public void setPolicy(int policy)
policy
- the policy.public void setMovingAverageWindowSize(int new_window_size)
new_window_size
- the new window size to calculate the
moving average.public void setMinimumWindowSize(int new_window_size)
new_window_size
- the new minimum window size to calculate
the moving average.public void setThresholdRatio(double new_threshold_ratio)
new_threshold_ratio
- the new threshold ratio to determine
the limiting pixel values.public double getThreshold()
public boolean ready()
public void operate() throws java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |