|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.pixy.identification.DefaultIdentifier.StarExtractor
The StarExtractor
is a class to extract stars from
the XML data object within the specified pixels.
Field Summary | |
protected XmlData |
data
The XML data object. |
protected static int |
SELECT_ALL
The number of selection method to select all stars within the search area. |
protected static int |
SELECT_BRIGHTEST
The number of selection method to select the brightest star. |
protected static int |
SELECT_CLOSEST
The number of selection method to select a star whose position is closest to the specified position. |
protected int |
type
The number of type. |
static int |
TYPE_ANY_CATALOG_OR_NEW
The number of type of distance judgement which represents to check between any star catalog position, or between detected position if no star catalog is identified. |
static int |
TYPE_BLENDING
The number of type of distance judgement which represents to check between only the detected stars, considering the radius of the star image. |
static int |
TYPE_ONLY_NEG
The number of type of distance judgement which represents to check between only most accurate position of NEG stars. |
static int |
TYPE_ONLY_NEW
The number of type of distance judgement which represents to check between only detected position of NEW stars. |
Constructor Summary | |
DefaultIdentifier.StarExtractor(XmlData data)
Constructs a StarExtractor with the XML data
object. |
Method Summary | |
protected java.lang.Object |
extract(Position position,
double search_area,
int select_method)
Extracts a star or stars within the specified search area. |
java.util.Vector |
extractAll(Position position,
double search_area)
Extracts a list of stars within the specified search area. |
XmlStar |
extractBrightestOne(Position position,
double search_area)
Extracts the brightest star within the specified search area. |
XmlStar |
extractOne(Position position,
double search_area)
Extracts a star within the specified search area whose position is closest to the specified position. |
void |
setType(int type)
Sets the type. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final int TYPE_ANY_CATALOG_OR_NEW
public static final int TYPE_ONLY_NEW
public static final int TYPE_ONLY_NEG
public static final int TYPE_BLENDING
protected static final int SELECT_CLOSEST
protected static final int SELECT_BRIGHTEST
protected static final int SELECT_ALL
protected int type
protected XmlData data
Constructor Detail |
public DefaultIdentifier.StarExtractor(XmlData data)
StarExtractor
with the XML data
object.data
- the XML data object.Method Detail |
public void setType(int type)
type
- the number of type.public XmlStar extractOne(Position position, double search_area)
position
- the base position.search_area
- the search area size.public XmlStar extractBrightestOne(Position position, double search_area)
position
- the base position.search_area
- the search area size.public java.util.Vector extractAll(Position position, double search_area)
position
- the base position.search_area
- the search area size.protected java.lang.Object extract(Position position, double search_area, int select_method)
position
- the base position.search_area
- the search area size.select_method
- the method to select a star or stars.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |