LOST
0.0.1
LOST: Open-source Star Tracker
|
#include <cairo/cairo.h>
#include <random>
#include <vector>
#include <map>
#include <utility>
#include <string>
#include <sstream>
#include <iostream>
#include <memory>
#include "centroiders.hpp"
#include "star-utils.hpp"
#include "star-id.hpp"
#include "camera.hpp"
#include "attitude-utils.hpp"
#include "attitude-estimators.hpp"
#include "databases.hpp"
#include "./pipeline-options.hpp"
#include "database-options.hpp"
Go to the source code of this file.
Classes | |
class | lost::UserSpecifiedOutputStream |
An output stream which might be a file or stdout. More... | |
class | lost::Image |
An 8-bit grayscale 2d image. More... | |
class | lost::PipelineOptions |
The command line options passed when running a pipeline. More... | |
class | lost::PipelineInput |
Represents the input and expected outputs of a pipeline run. More... | |
class | lost::GeneratedPipelineInput |
A pipeline input which is generated (fake image). More... | |
class | lost::PngPipelineInput |
A pipeline input created by reading a PNG from a file on disk. More... | |
struct | lost::PipelineOutput |
The result of running a pipeline. More... | |
struct | lost::StarIdComparison |
The result of comparing an actual star identification with the true star idenification, used for testing and benchmarking. More... | |
class | lost::Pipeline |
A set of algorithms that describes all or part of the star-tracking "pipeline". More... | |
class | lost::DatabaseOptions |
Commannd line options when using the database command. More... | |
Namespaces | |
lost | |
LOST starting point. | |
Macros | |
#define | LOST_CLI_OPTION(name, type, prop, defaultVal, converter, defaultArg) type prop = defaultVal; |
#define | LOST_CLI_OPTION(name, type, prop, defaultVal, converter, defaultArg) type prop = defaultVal; |
Typedefs | |
typedef std::vector< std::unique_ptr< PipelineInput > > | lost::PipelineInputList |
Functions | |
const Catalog & | lost::CatalogRead () |
Read and parse the full catalog from disk. If called multiple times, will re-use the first result. More... | |
unsigned char * | lost::SurfaceToGrayscaleImage (cairo_surface_t *cairoSurface) |
Convert a colored Cairo image surface into a row-major array of grayscale pixels. More... | |
cairo_surface_t * | lost::GrayscaleImageToSurface (const unsigned char *image, const int width, const int height) |
PipelineInputList | lost::GetPipelineInput (const PipelineOptions &values) |
Come up with a list of pipeline inputs based on command line options. More... | |
std::ostream & | lost::operator<< (std::ostream &os, const Camera &camera) |
Print information about the camera in machine and human-readable form. More... | |
Pipeline | lost::SetPipeline (const PipelineOptions &values) |
Create a pipeline from command line options. More... | |
void | lost::PipelineComparison (const PipelineInputList &expected, const std::vector< PipelineOutput > &actual, const PipelineOptions &values) |
Print or otherwise analyze the results of (perhaps multiple) runs of a star tracking pipeline. More... | |
StarIdComparison | lost::StarIdsCompare (const StarIdentifiers &expected, const StarIdentifiers &actual, const Catalog &expectedCatalog, const Catalog &actualCatalog, decimal centroidThreshold, const Stars &expectedStars, const Stars &inputStars) |
Compare expected and actual star identifications. More... | |
SerializeContext | lost::serFromDbValues (const DatabaseOptions &values) |
MultiDatabaseDescriptor | lost::GenerateDatabases (const Catalog &, const DatabaseOptions &values) |
Appropriately create descriptors for all requested databases according to command-line options. More... | |
void | lost::InspectCatalog () |
Variables | |
const char | lost::kNoDefaultArgument = 0 |
#define LOST_CLI_OPTION | ( | name, | |
type, | |||
prop, | |||
defaultVal, | |||
converter, | |||
defaultArg | |||
) | type prop = defaultVal; |