|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
#include <ImageSource.h>


Public Member Functions | |
| ImageSource () | |
| virtual | ~ImageSource ()=default |
| virtual std::string | getRepr () const =0 |
| Human readable representation of this source. | |
| virtual void | saveTile (ImageTile &tile)=0 |
| virtual std::shared_ptr< ImageTile > | getImageTile (int x, int y, int width, int height) const =0 |
| virtual int | getWidth () const =0 |
| Returns the width of the image in pixels. | |
| virtual int | getHeight () const =0 |
| Returns the height of the image in pixels. | |
| virtual ImageTile::ImageType | getType () const =0 |
| virtual const std::map< std::string, MetadataEntry > & | getMetadata () const |
| virtual void | setMetadata (const std::string &key, const MetadataEntry &value) |
Private Attributes | |
| std::map< std::string, MetadataEntry > | m_metadata |
Metadata is modeled as a set of key/value pairs. Keys are unique.
Definition at line 55 of file ImageSource.h.
|
inline |
Definition at line 58 of file ImageSource.h.
|
virtualdefault |
|
pure virtual |
Returns the height of the image in pixels.
Implemented in SourceXtractor::FitsImageSource, SourceXtractor::ProcessingImageSource< T >, SourceXtractor::ProcessingImageSource< DetectionImage::PixelType >, SourceXtractor::ProcessingImageSource< WeightImage::PixelType >, SourceXtractor::ScaledImageSource< T >, and SourceXtractor::TemporaryFitsImageSource.
|
pure virtual |
Implemented in SourceXtractor::FitsImageSource, SourceXtractor::ProcessingImageSource< T >, SourceXtractor::ProcessingImageSource< DetectionImage::PixelType >, SourceXtractor::ProcessingImageSource< WeightImage::PixelType >, SourceXtractor::ScaledImageSource< T >, and SourceXtractor::TemporaryFitsImageSource.
|
inlinevirtual |
Reimplemented in SourceXtractor::FitsImageSource.
Definition at line 80 of file ImageSource.h.
References m_metadata.
|
pure virtual |
Human readable representation of this source.
Implemented in SourceXtractor::BgConvolutionImageSource, SourceXtractor::BgDFTConvolutionImageSource, SourceXtractor::FitsImageSource, SourceXtractor::InterpolatedImageSource< T >, SourceXtractor::ScaledImageSource< T >, SourceXtractor::TemporaryFitsImageSource, and SourceXtractor::WeightMapImageSource.
|
pure virtual |
Implemented in SourceXtractor::FitsImageSource, SourceXtractor::InterpolatedImageSource< T >, SourceXtractor::ProcessingImageSource< T >, SourceXtractor::ProcessingImageSource< DetectionImage::PixelType >, SourceXtractor::ProcessingImageSource< WeightImage::PixelType >, SourceXtractor::ScaledImageSource< T >, and SourceXtractor::TemporaryFitsImageSource.
|
pure virtual |
Returns the width of the image in pixels.
Implemented in SourceXtractor::FitsImageSource, SourceXtractor::ProcessingImageSource< T >, SourceXtractor::ProcessingImageSource< DetectionImage::PixelType >, SourceXtractor::ProcessingImageSource< WeightImage::PixelType >, SourceXtractor::ScaledImageSource< T >, and SourceXtractor::TemporaryFitsImageSource.
|
pure virtual |
Implemented in SourceXtractor::FitsImageSource, SourceXtractor::ProcessingImageSource< T >, SourceXtractor::ProcessingImageSource< DetectionImage::PixelType >, SourceXtractor::ProcessingImageSource< WeightImage::PixelType >, SourceXtractor::ScaledImageSource< T >, and SourceXtractor::TemporaryFitsImageSource.
|
inlinevirtual |
Reimplemented in SourceXtractor::FitsImageSource.
Definition at line 82 of file ImageSource.h.
References m_metadata.
|
private |
Definition at line 87 of file ImageSource.h.
Referenced by getMetadata(), and setMetadata().