|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|


Public Member Functions | |
| WeightMapImageSource (std::shared_ptr< Image< WeightImage::PixelType > > image, WeightImageConfig::WeightType weight_type, WeightImage::PixelType scaling) | |
| Public Member Functions inherited from SourceXtractor::ProcessingImageSource< WeightImage::PixelType > | |
| 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. | |
| int | getHeight () const override |
| Returns the height of the image in pixels. | |
| ImageTile::ImageType | getType () const override |
| Public Member Functions inherited from SourceXtractor::ImageSource | |
| ImageSource () | |
| virtual | ~ImageSource ()=default |
| virtual const std::map< std::string, MetadataEntry > & | getMetadata () const |
| virtual void | setMetadata (const std::string &key, const MetadataEntry &value) |
| Public Member Functions inherited from std::enable_shared_from_this< ImageSource > | |
| 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. | |
| void | generateTile (const std::shared_ptr< Image< WeightImage::PixelType > > &image, ImageTileWithType< WeightImage::PixelType > &tile, int x, int y, int width, int height) const final |
| void | generateFromWeight (ImageTileWithType< WeightImage::PixelType > &tile, int width, int height, const ImageChunk< WeightImage::PixelType > &image_chunk) const |
| void | generateFromVariance (ImageTileWithType< WeightImage::PixelType > &tile, int width, int height, const ImageChunk< WeightImage::PixelType > &image_chunk) const |
| void | generateFromRms (ImageTileWithType< WeightImage::PixelType > &tile, int width, int height, const ImageChunk< WeightImage::PixelType > &image_chunk) const |
| Protected Member Functions inherited from SourceXtractor::ProcessingImageSource< WeightImage::PixelType > | |
| std::string | getImageRepr () const |
Private Attributes | |
| WeightImageConfig::WeightType | m_weight_type |
| WeightImage::PixelType | m_scaling |
Definition at line 187 of file WeightImageConfig.cpp.
|
inline |
Definition at line 189 of file WeightImageConfig.cpp.
References m_scaling, m_weight_type, and SourceXtractor::ProcessingImageSource< WeightImage::PixelType >::ProcessingImageSource().

|
inlineprotected |
Definition at line 246 of file WeightImageConfig.cpp.
References SourceXtractor::ImageTileWithType< T >::getImage(), SourceXtractor::ImageChunk< T >::getValue(), and m_scaling.
Referenced by generateTile().

|
inlineprotected |
Definition at line 235 of file WeightImageConfig.cpp.
References SourceXtractor::ImageTileWithType< T >::getImage(), SourceXtractor::ImageChunk< T >::getValue(), and m_scaling.
Referenced by generateTile().

|
inlineprotected |
Definition at line 219 of file WeightImageConfig.cpp.
References SourceXtractor::ImageTileWithType< T >::getImage(), SourceXtractor::ImageChunk< T >::getValue(), std::numeric_limits::infinity(), and m_scaling.
Referenced by generateTile().

|
inlinefinalprotectedvirtual |
Implements SourceXtractor::ProcessingImageSource< WeightImage::PixelType >.
Definition at line 199 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, and SourceXtractor::WeightImageConfig::WEIGHT_TYPE_WEIGHT.

|
inlineoverrideprotectedvirtual |
Human readable representation of this source.
Implements SourceXtractor::ImageSource.
Definition at line 195 of file WeightImageConfig.cpp.
References SourceXtractor::ProcessingImageSource< WeightImage::PixelType >::getImageRepr().

|
private |
Definition at line 259 of file WeightImageConfig.cpp.
Referenced by generateFromRms(), generateFromVariance(), generateFromWeight(), and WeightMapImageSource().
|
private |
Definition at line 258 of file WeightImageConfig.cpp.
Referenced by generateTile(), and WeightMapImageSource().