SourceXtractorPlusPlus
0.8
Please provide a description of the project.
|
#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. More... | |
T | getValue (int x, int y) const override |
Returns the value of the pixel with the coordinates (x,y) More... | |
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... | |
std::shared_ptr< ImageChunk< T > > | getChunk (int x, int y, int width, int height) const override |
![]() | |
virtual | ~ImageBase () |
![]() | |
virtual | ~Image ()=default |
Destructor. More... | |
T | getValue (PixelCoordinate pc) const |
![]() | |
T | enable_shared_from_this (T...args) |
T | operator= (T...args) |
T | shared_from_this (T...args) |
T | ~enable_shared_from_this (T...args) |
Static Public Member Functions | |
static std::shared_ptr < BufferedImage< T > > | create (std::shared_ptr< const ImageSource< T >> source, std::shared_ptr< TileManager > tile_manager=TileManager::getInstance()) |
Protected Member Functions | |
BufferedImage (std::shared_ptr< const ImageSource< T >> source, std::shared_ptr< TileManager > tile_manager) | |
void | copyOverlappingPixels (const ImageTile< 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< T > > | m_source |
std::shared_ptr< TileManager > | m_tile_manager |
std::shared_ptr< ImageTile< T > > | m_current_tile |
Additional Inherited Members | |
![]() | |
using | PixelType = T |
Definition at line 39 of file BufferedImage.h.
|
protected |
Definition at line 28 of file BufferedImage.cpp.
|
virtualdefault |
|
protected |
Definition at line 114 of file BufferedImage.cpp.
References SourceXtractor::ImageTile< T >::getPosX(), SourceXtractor::ImageTile< T >::getPosY(), SourceXtractor::ImageTile< T >::getValue(), std::max(), std::min(), x, and y.
|
static |
Definition at line 34 of file BufferedImage.cpp.
Referenced by SourceXtractor::WeightImageConfig::convertWeightMap(), SourceXtractor::DetectionImageConfig::initialize(), SourceXtractor::BackgroundConvolution::processImage(), and SourceXtractor::FitsReader< T >::readFile().
|
overridevirtual |
Reimplemented from SourceXtractor::ImageBase< T >.
Definition at line 70 of file BufferedImage.cpp.
References SourceXtractor::ImageChunk< T >::create(), SourceXtractor::UniversalImageChunk< T >::create(), and std::move().
|
overridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 64 of file BufferedImage.cpp.
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 41 of file BufferedImage.cpp.
|
overridevirtual |
Returns the value of the pixel with the coordinates (x,y)
Implements SourceXtractor::Image< T >.
Definition at line 46 of file BufferedImage.cpp.
|
overridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 58 of file BufferedImage.cpp.
Referenced by SourceXtractor::WriteableBufferedImage< T >::setValue().
|
mutableprotected |
Definition at line 66 of file BufferedImage.h.
Referenced by SourceXtractor::WriteableBufferedImage< T >::setValue().
|
protected |
Definition at line 64 of file BufferedImage.h.
|
protected |
Definition at line 65 of file BufferedImage.h.