LOST  0.0.1
LOST: Open-source Star Tracker
lost::GeometricVotingStarIdAlgorithm Class Reference

A star-id algorithm based on assigning votes for each centroid-catalog pair then choosing the highest voted catalog stars. More...

#include <star-id.hpp>

Inheritance diagram for lost::GeometricVotingStarIdAlgorithm:
Collaboration diagram for lost::GeometricVotingStarIdAlgorithm:

Public Member Functions

StarIdentifiers Go (const unsigned char *database, const Stars &, const Catalog &, const Camera &) const
 Actualy perform the star idenification. This is the "main" function for StarIdAlgorithm. More...
 
 GeometricVotingStarIdAlgorithm (decimal tolerance)
 
- Public Member Functions inherited from lost::StarIdAlgorithm
virtual ~StarIdAlgorithm ()
 

Detailed Description

A star-id algorithm based on assigning votes for each centroid-catalog pair then choosing the highest voted catalog stars.

While the geometric voting algorithm is the simplest true star-id algorithm I know of and is quite fast, it has some reliability issues and there are no statistical guarantees on how often it will return the wrong result. It will also frequently fail to idenify images with few stars.

Definition at line 35 of file star-id.hpp.

Constructor & Destructor Documentation

◆ GeometricVotingStarIdAlgorithm()

lost::GeometricVotingStarIdAlgorithm::GeometricVotingStarIdAlgorithm ( decimal  tolerance)
inlineexplicit
Parameters
toleranceAngular tolerance (Two inter-star distances are considered the same if within this many radians)

Definition at line 42 of file star-id.hpp.

Member Function Documentation

◆ Go()

StarIdentifiers lost::GeometricVotingStarIdAlgorithm::Go ( const unsigned char *  database,
const Stars ,
const Catalog ,
const Camera  
) const
virtual

Actualy perform the star idenification. This is the "main" function for StarIdAlgorithm.

Implements lost::StarIdAlgorithm.

Definition at line 29 of file star-id.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: