3 #ifndef STAR_ID_PRIVATE_H
4 #define STAR_ID_PRIVATE_H
24 identifiedStarsInRange.reserve(10);
40 std::vector<std::pair<decimal, StarIdentifier>> identifiedStarsInRange;
51 int16_t catalogIndex1, int16_t catalogIndex2,
A full description of a camera. Enough information to reconstruct the camera matrix and then some.
unidentified centroid used in IdentifyRemainingStarsPairDistance The "angles" through here are "trian...
const Star * star
Index into list of all centroids.
IRUnidentifiedCentroid(const Star &star, int16_t index)
StarIdentifier bestStar1
For the pair of other centroids forming the triangular angle closest to 90 degrees,...
void AddIdentifiedStar(const StarIdentifier &starId, const Stars &stars)
When a centroid within range of this centroid is identified, call this function.
StarIdentifier bestStar2
One star corresponding to bestAngleFrom90.
int16_t index
The other star corresponding to bestAngleFrom90.
A database storing distances between pairs of stars.
A "centroid" detected in an image.
Records that a certain Star (detected in the image) corresponds to a certain CatalogStar.
std::vector< StarIdentifier > StarIdentifiers
std::vector< Star > Stars
int IdentifyRemainingStarsPairDistance(StarIdentifiers *, const Stars &, const PairDistanceKVectorDatabase &, const Catalog &, const Camera &, decimal tolerance)
Given some identified stars, attempt to identify the rest.
std::vector< int16_t > IdentifyThirdStar(const PairDistanceKVectorDatabase &db, const Catalog &catalog, int16_t catalogIndex1, int16_t catalogIndex2, decimal distance1, decimal distance2, decimal tolerance)
Given two already-identified centroids, and the distance from each to an as-yet unidentified third ce...
std::vector< CatalogStar > Catalog