|
|||||||||
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.pairing.ProgressivePairMaker
The ProgressivePairMaker
is a class to make pairs
among two lists of stars progressively. First, it makes pairs
roughly only based on the brightness. Then it makes pairs based on
the similarity calculated using both the brightness and the
position. Finally, it makes pairs precisly based on the position.
The (x,y) position and magnitude of stars in the both lists must be set properly. The (x,y) position in the first list and the magnitude in the second list are regarded as the base value. The (x,y) position in the second list and the magnitude in the first list will be changed after the operation.
After the operation, the two lists will be sorted.
The elements in the first list must be StarImage
objects.
Field Summary | |
protected boolean |
assume_flat
True when not to calculate the distortion field. |
protected PositionMap |
catalog_map
The position map of the catalog. |
protected ChartMapFunction |
cmf
The chart composition of catalog stars. |
protected StarImageList |
first_list
The first list of stars. |
protected boolean |
fix_limiting_mag
True when not to calculate the limiting magnitude automatically. |
protected double |
fixed_limit_mag
The fixed limiting magnitude. |
protected PositionMap |
image_map
The position map of the image. |
protected java.util.Vector |
pair_list
The list of pairs. |
private static int |
PAIR_MAKER_BRIGHTNESS_BASED
The type of a pair maker which represents the BrightnessBasedPairMaker . |
private static int |
PAIR_MAKER_DEFAULT
The type of a pair maker which represents the DefaultPairMaker . |
private static int |
PAIR_MAKER_FINAL
The type of a pair maker which means the pairing step is final. |
private static int |
PAIR_MAKER_POSITION_BASED
The type of a pair maker which represents the PositionBasedPairMaker . |
private static int |
PAIR_MAKER_SIMILARITY_BASED
The type of a pair maker which represents the SimilarityBasedPairMaker . |
protected StarList |
second_list
The second list of stars. |
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 | |
ProgressivePairMaker(StarImageList first_list,
StarList second_list,
ChartMapFunction cmf,
PositionMap image_map,
PositionMap catalog_map)
Constructs a ProgressivePairMaker with two lists
of stars. |
Method Summary | |
void |
assumeFlat()
Sets the flag not to calculate the ditortion field. |
void |
fixLimitingMagnitude(double limit_mag)
Fixes the limiting magnitude. |
ChartMapFunction |
getChartMapFunction()
Gets the refined chart map function. |
java.util.Vector |
getPairList()
Gets the list of pairs. |
void |
operate()
Operates. |
boolean |
ready()
Returns true if the operation is ready to start. |
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 StarImageList first_list
protected StarList second_list
protected PositionMap image_map
protected PositionMap catalog_map
protected ChartMapFunction cmf
protected java.util.Vector pair_list
protected boolean assume_flat
protected boolean fix_limiting_mag
protected double fixed_limit_mag
private static final int PAIR_MAKER_DEFAULT
DefaultPairMaker
.private static final int PAIR_MAKER_BRIGHTNESS_BASED
BrightnessBasedPairMaker
.private static final int PAIR_MAKER_SIMILARITY_BASED
SimilarityBasedPairMaker
.private static final int PAIR_MAKER_POSITION_BASED
PositionBasedPairMaker
.private static final int PAIR_MAKER_FINAL
Constructor Detail |
public ProgressivePairMaker(StarImageList first_list, StarList second_list, ChartMapFunction cmf, PositionMap image_map, PositionMap catalog_map)
ProgressivePairMaker
with two lists
of stars.first_list
- the first list of stars.second_list
- the second list of stars.cmf
- the chart composition of catalog stars.image_map
- the position map of the image.catalog_map
- the position map of the catalog.Method Detail |
public void assumeFlat()
public void fixLimitingMagnitude(double limit_mag)
limit_mag
- the limiting magnitude to fix.public ChartMapFunction getChartMapFunction()
operate
method is invoked.public java.util.Vector getPairList()
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 |