LOST 0.0.1
LOST: Open-source Star Tracker
Loading...
Searching...
No Matches
star-utils.hpp File Reference
#include <algorithm>
#include <vector>
#include "attitude-utils.hpp"
#include "serialize-helpers.hpp"
Include dependency graph for star-utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lost::CatalogStar
 A star from the Bright Star Catalog. More...
class  lost::Star
 A "centroid" detected in an image. More...
class  lost::StarIdentifier
 Records that a certain Star (detected in the image) corresponds to a certain CatalogStar. More...
class  lost::CombinationIterator
struct  lost::TetraConstants

Namespaces

namespace  lost
 LOST starting point.

Typedefs

typedef std::vector< CatalogStar > lost::Catalog
typedef std::vector< Star > lost::Stars
typedef std::vector< StarIdentifier > lost::StarIdentifiers

Functions

void lost::SerializeCatalog (SerializeContext *ser, const Catalog &catalog, bool inclMagnitude, bool inclName)
 Serialize the catalog to buffer.
Catalog lost::DeserializeCatalog (DeserializeContext *des, bool *inclMagnitudeReturn, bool *inclNameReturn)
 Deserialize a catalog.
Catalog::const_iterator lost::FindNamedStar (const Catalog &catalog, int name)
 Return a pointer to the star with the given name, or NULL if not found.
decimal lost::MagToBrightness (int magnitude)
 returns some relative brightness measure, which is proportional to the total number of photons received from a star.
Catalog lost::NarrowCatalog (const Catalog &, int maxMagnitude, int maxStars, decimal minSeparation)
 Remove unwanted stars from an unfiltered catalog.
size_t lost::TetraFindPatternIndex (const int *patternEdgeRatios, size_t numRatios, int numEdgeRatioBins, size_t tableSize)
template<typename SpatialAccessor>
bool lost::AllPairsWithinFov (int numStars, SpatialAccessor spatial, decimal cosMaxFov)
template<typename SpatialAccessor>
std::vector< decimal > lost::TetraEdgeRatios (int numStars, SpatialAccessor spatial)