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


Public Member Functions | |
| virtual | ~BufferedImage ()=default |
| std::string | getRepr () const override |
| Get a string identifying this image in a human readable manner. | |
| int | getWidth () const override |
| Returns the width of the image in pixels. | |
| int | getHeight () const override |
| Returns the height of the image in pixels. | |
| std::shared_ptr< ImageChunk< T > > | getChunk (int x, int y, int width, int height) const override |
| Public Member Functions inherited from SourceXtractor::Image< T > | |
| virtual | ~Image ()=default |
| Destructor. | |
| std::shared_ptr< ImageChunk< T > > | getChunk (const PixelCoordinate &start, const PixelCoordinate &end) const |
| bool | isInside (int x, int y) const |
| Returns true if the given coordinates are inside the image bounds. | |
Static Public Member Functions | |
| static std::shared_ptr< BufferedImage< T > > | create (std::shared_ptr< const ImageSource > source, std::shared_ptr< TileManager > tile_manager=TileManager::getInstance()) |
Protected Member Functions | |
| BufferedImage (std::shared_ptr< const ImageSource > source, std::shared_ptr< TileManager > tile_manager) | |
| void | copyOverlappingPixels (const ImageTileWithType< T > &tile, std::vector< T > &output, int x, int y, int w, int h, int tile_w, int tile_h) const |
Protected Attributes | |
| std::shared_ptr< const ImageSource > | m_source |
| std::shared_ptr< TileManager > | m_tile_manager |
Additional Inherited Members | |
| Public Types inherited from SourceXtractor::Image< T > | |
| using | PixelType = T |
Definition at line 39 of file BufferedImage.h.
|
protected |
Definition at line 26 of file BufferedImage.cpp.
References m_source, and m_tile_manager.
Referenced by create(), and SourceXtractor::WriteableBufferedImage< T >::WriteableBufferedImage().
|
virtualdefault |
|
protected |
Definition at line 102 of file BufferedImage.cpp.
References SourceXtractor::ImageTile::getPosX(), SourceXtractor::ImageTile::getPosY(), SourceXtractor::ImageTileWithType< T >::getValue(), std::max(), and std::min().
Referenced by getChunk().

|
static |
Definition at line 32 of file BufferedImage.cpp.
References BufferedImage().
Referenced by SourceXtractor::SEBackgroundLevelAnalyzer::analyzeBackground(), SourceXtractor::Frame< T >::applyInterpolation(), SourceXtractor::WeightImageConfig::convertWeightMap(), SourceXtractor::DetectionImageConfig::initialize(), SourceXtractor::ExternalFlagConfig::initialize(), SourceXtractor::WeightImageConfig::initialize(), SourceXtractor::BackgroundConvolution::processImage(), and SourceXtractor::FitsReader< T >::readFile().

|
overridevirtual |
Implements SourceXtractor::Image< T >.
Definition at line 57 of file BufferedImage.cpp.
References copyOverlappingPixels(), SourceXtractor::UniversalImageChunk< T >::create(), std::dynamic_pointer_cast(), m_source, m_tile_manager, and std::move().

|
overridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 51 of file BufferedImage.cpp.
References m_source.
Referenced by SourceXtractor::WriteableBufferedImage< T >::setValue().
|
overridevirtual |
Get a string identifying this image in a human readable manner.
Implements SourceXtractor::Image< T >.
Definition at line 39 of file BufferedImage.cpp.
References m_source.
|
overridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 45 of file BufferedImage.cpp.
References m_source.
Referenced by SourceXtractor::WriteableBufferedImage< T >::setValue().
|
protected |
Definition at line 61 of file BufferedImage.h.
Referenced by BufferedImage(), getChunk(), getHeight(), getRepr(), getWidth(), and SourceXtractor::WriteableBufferedImage< T >::setValue().
|
protected |
Definition at line 62 of file BufferedImage.h.
Referenced by BufferedImage(), getChunk(), and SourceXtractor::WriteableBufferedImage< T >::setValue().