Public Member Functions

star_meas Class Reference

Identifies stars from a star catalog assuming a pinhole camera model. More...

List of all members.

Public Member Functions

 star_meas (void)
 Constructor.
void Initialize (const ml_matrix &starMatrix, double fieldOfView, double angularResolution, double intTol, double fScale)
 Initialize the object.
void Initialize (double fieldOfView, double angularResolution, double intTol, double fScale)
 Initialize the object.
void SetStarMatrix (const ml_matrix &star_catalog)
 Set star matrix.
void SetParams (double fieldOfView, double fScale)
 Set parameters that might change after initialization.
void StarIdentification (const ml_matrix &pixelLocation, const ml_matrix &pixelIntensity)
 Perform star identification.
ml_matrix GetIdentifiedStars (void)
 Get the list of identified stars.
ml_matrix GetMeasuredUnitVectors (void)
 Get the unit vectors.
int GetNumberOfIdentifiedStars (void)
 Get the number of identified stars.

Detailed Description

Identifies stars from a star catalog assuming a pinhole camera model.

Returns a list of identified stars and their unit vectors.


Member Function Documentation

void star_meas::Initialize ( const ml_matrix &  starMatrix,
double  fieldOfView,
double  angularResolution,
double  intTol,
double  fScale 
)

Initializes the stellar id system.

Parameters:
starMatrixThe star matrix
fieldOfViewThe field-of-view of the telescope
angularResolutionThe angular resolution of the telescope
intTolThe intensity tolerance for intensity matching
fScaleThe focal length
void star_meas::Initialize ( double  fieldOfView,
double  angularResolution,
double  intTol,
double  fScale 
)

Initializes the stellar id system.

Parameters:
fieldOfViewThe field-of-view of the telescope
angularResolutionThe angular resolution of the telescope
intTolThe intensity tolerance for intensity matching
fScaleThe focal length
void star_meas::SetStarMatrix ( const ml_matrix &  starMatrix )

Sets the star matrix.

Parameters:
starMatrixThe star matrix
void star_meas::SetParams ( double  fieldOfView,
double  fScale 
)

Initializes the stellar id system.

Parameters:
fieldOfViewThe field-of-view of the telescope
fScaleThe focal length
void star_meas::StarIdentification ( const ml_matrix &  pixelLocation,
const ml_matrix &  pixelIntensity 
)

Performs star indentification.

Parameters:
pixelLocationCentroid locations
pixelIntensityThe measured intensity of each pixel
ml_matrix star_meas::GetIdentifiedStars ( void   )

Return the list of identified stars.

Returns:
The list of identified stars
ml_matrix star_meas::GetMeasuredUnitVectors ( void   )

Return the list of unit vectors corresponding to the identified stars.

Returns:
The unit vectors 3 by n
int star_meas::GetNumberOfIdentifiedStars ( void   )

Return the number of identified stars.

Returns:
The number of stars