LOST
0.0.1
LOST: Open-source Star Tracker
|
A pipeline input which is generated (fake image). More...
#include <io.hpp>
Public Member Functions | |
GeneratedPipelineInput (const Catalog &, Attitude, Camera, std::default_random_engine *, bool centroidsOnly, decimal observedReferenceBrightness, decimal starSpreadStdDev, decimal sensitivity, decimal darkCurrent, decimal readNoiseStdDev, Attitude motionBlurDirection, decimal exposureTime, decimal readoutTime, bool shotNoise, int oversampling, int numFalseStars, int falseMinMagnitude, int falseMaxMagnitude, int cutoffMag, decimal perturbationStddev) | |
Create a generated pipeline input. More... | |
const Image * | InputImage () const override |
const Stars * | InputStars () const override |
const Stars * | ExpectedStars () const override |
const Camera * | InputCamera () const override |
const StarIdentifiers * | InputStarIds () const override |
The centroid indices in the StarIdentifiers returned from InputStarIds should be indices into InputStars(), not ExpectedStars(), when present, because otherwise it's useless. More... | |
const StarIdentifiers * | ExpectedStarIds () const override |
Centroid indices in the StarIdentifiers returned from ExpectedStarIds should be indices into ExpectedStars(), /not/ InputStars(). More... | |
const Attitude * | InputAttitude () const override |
Only used in tracking mode, in which case it is an estimate of the current attitude based on the last attitude, IMU info, etc. More... | |
const Catalog & | GetCatalog () const override |
The catalog to which catalog indexes returned from other methods refer. More... | |
Public Member Functions inherited from lost::PipelineInput | |
virtual | ~PipelineInput () |
cairo_surface_t * | InputImageSurface () const |
Convert the InputImage() output into a cairo surface. More... | |
virtual const Attitude * | ExpectedAttitude () const |
A pipeline input which is generated (fake image).
Uses a pretty decent image generation algorithm to create a fake image as the basis for a pipeline input. Since we know everything about the generated image, all of the input and expected methods are available.
lost::GeneratedPipelineInput::GeneratedPipelineInput | ( | const Catalog & | catalog, |
Attitude | attitude, | ||
Camera | camera, | ||
std::default_random_engine * | rng, | ||
bool | centroidsOnly, | ||
decimal | zeroMagTotalPhotons, | ||
decimal | starSpreadStdDev, | ||
decimal | saturationPhotons, | ||
decimal | darkCurrent, | ||
decimal | readNoiseStdDev, | ||
Attitude | motionBlurDirection, | ||
decimal | exposureTime, | ||
decimal | readoutTime, | ||
bool | shotNoise, | ||
int | oversampling, | ||
int | numFalseStars, | ||
int | falseStarMinMagnitude, | ||
int | falseStarMaxMagnitude, | ||
int | cutoffMag, | ||
decimal | perturbationStddev | ||
) |
|
inlineoverridevirtual |
Centroid indices in the StarIdentifiers returned from ExpectedStarIds should be indices into ExpectedStars(), /not/ InputStars().
This is in contrast to InputStarIds. If you need to compare ExpectedStarIds against the input stars, then you should use some function which uses simple heuristics to match the input stars and expected stars (eg based on distance). Cf how the star-ID comparator works for a reference implementation.
Reimplemented from lost::PipelineInput.
|
inlineoverridevirtual |
Reimplemented from lost::PipelineInput.
|
inlineoverridevirtual |
The catalog to which catalog indexes returned from other methods refer.
Implements lost::PipelineInput.
|
inlineoverridevirtual |
Only used in tracking mode, in which case it is an estimate of the current attitude based on the last attitude, IMU info, etc.
Reimplemented from lost::PipelineInput.
|
inlineoverridevirtual |
Reimplemented from lost::PipelineInput.
|
inlineoverridevirtual |
Reimplemented from lost::PipelineInput.
|
inlineoverridevirtual |
The centroid indices in the StarIdentifiers returned from InputStarIds should be indices into InputStars(), not ExpectedStars(), when present, because otherwise it's useless.
Reimplemented from lost::PipelineInput.
|
inlineoverridevirtual |
Reimplemented from lost::PipelineInput.