SourceXtractorPlusPlus
0.13
Please provide a description of the project.
|
Public Member Functions | |
WeightMapImageSource (std::shared_ptr< Image< WeightImage::PixelType >> image, WeightImageConfig::WeightType weight_type, WeightImage::PixelType scaling) | |
![]() | |
ProcessingImageSource (std::shared_ptr< Image< WeightImage::PixelType >> image) | |
virtual | ~ProcessingImageSource ()=default |
std::shared_ptr< ImageTile > | getImageTile (int x, int y, int width, int height) const override |
void | saveTile (ImageTile &) override |
int | getWidth () const override |
Returns the width of the image in pixels. More... | |
int | getHeight () const override |
Returns the height of the image in pixels. More... | |
ImageTile::ImageType | getType () const override |
![]() | |
ImageSource () | |
virtual | ~ImageSource ()=default |
virtual int | getWidth () const =0 |
Returns the width of the image in pixels. More... | |
virtual int | getHeight () const =0 |
Returns the height of the image in pixels. More... | |
virtual ImageTile::ImageType | getType () const =0 |
virtual const std::map< std::string, MetadataEntry > | getMetadata () const |
virtual void | setMetadata (std::string key, MetadataEntry value) |
![]() | |
T | enable_shared_from_this (T... args) |
T | operator= (T... args) |
T | shared_from_this (T... args) |
T | ~enable_shared_from_this (T... args) |
Protected Member Functions | |
std::string | getRepr () const override |
Human readable representation of this source. More... | |
void | generateTile (const std::shared_ptr< Image< WeightImage::PixelType >> &image, ImageTile &tile, int x, int y, int width, int height) const final |
void | generateFromWeight (ImageTile &tile, int width, int height, const ImageChunk< WeightImage::PixelType > &image_chunk) const |
void | generateFromVariance (ImageTile &tile, int width, int height, const ImageChunk< WeightImage::PixelType > &image_chunk) const |
void | generateFromRms (ImageTile &tile, int width, int height, const ImageChunk< WeightImage::PixelType > &image_chunk) const |
![]() | |
virtual void | generateTile (const std::shared_ptr< Image< WeightImage::PixelType >> &image, ImageTile &tile, int x, int y, int width, int height) const=0 |
std::string | getImageRepr () const |
Private Attributes | |
WeightImageConfig::WeightType | m_weight_type |
WeightImage::PixelType | m_scaling |
Definition at line 145 of file WeightImageConfig.cpp.
|
inline |
Definition at line 147 of file WeightImageConfig.cpp.
|
inlineprotected |
Definition at line 202 of file WeightImageConfig.cpp.
References SourceXtractor::ImageTile::getImage(), SourceXtractor::ImageChunk< T >::getValue(), and m_scaling.
Referenced by generateTile().
|
inlineprotected |
Definition at line 192 of file WeightImageConfig.cpp.
References SourceXtractor::ImageTile::getImage(), SourceXtractor::ImageChunk< T >::getValue(), and m_scaling.
Referenced by generateTile().
|
inlineprotected |
Definition at line 177 of file WeightImageConfig.cpp.
References SourceXtractor::ImageTile::getImage(), SourceXtractor::ImageChunk< T >::getValue(), and m_scaling.
Referenced by generateTile().
|
inlinefinalprotected |
Definition at line 157 of file WeightImageConfig.cpp.
References generateFromRms(), generateFromVariance(), generateFromWeight(), m_weight_type, SourceXtractor::WeightImageConfig::WEIGHT_TYPE_FROM_BACKGROUND, SourceXtractor::WeightImageConfig::WEIGHT_TYPE_RMS, SourceXtractor::WeightImageConfig::WEIGHT_TYPE_VARIANCE, SourceXtractor::WeightImageConfig::WEIGHT_TYPE_WEIGHT, x, and y.
|
inlineoverrideprotectedvirtual |
Human readable representation of this source.
Implements SourceXtractor::ImageSource.
Definition at line 153 of file WeightImageConfig.cpp.
References SourceXtractor::ProcessingImageSource< WeightImage::PixelType >::getImageRepr().
|
private |
Definition at line 214 of file WeightImageConfig.cpp.
Referenced by generateFromRms(), generateFromVariance(), and generateFromWeight().
|
private |
Definition at line 213 of file WeightImageConfig.cpp.
Referenced by generateTile().