SourceXtractorPlusPlus
0.8
Please provide a description of the project.
|
Interface representing an image. More...
#include <Image.h>
Public Types | |
using | PixelType = T |
Public Member Functions | |
virtual | ~Image ()=default |
Destructor. More... | |
virtual std::string | getRepr () const =0 |
Get a string identifying this image in a human readable manner. More... | |
virtual T | getValue (int x, int y) const =0 |
Returns the value of the pixel with the coordinates (x,y) More... | |
T | getValue (PixelCoordinate pc) const |
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 std::shared_ptr < ImageChunk< T > > | getChunk (int x, int y, int width, int height) const =0 |
Interface representing an image.
T | the type of the pixel values |
using SourceXtractor::Image< T >::PixelType = T |
|
virtualdefault |
Destructor.
|
pure virtual |
|
pure virtual |
Returns the height of the image in pixels.
Implemented in SourceXtractor::PaddedImage< T, CoordinateInterpolation >, SourceXtractor::VectorImage< T >, SourceXtractor::ProcessedImage< T, P >, SourceXtractor::ThresholdedImage< T >, SourceXtractor::InterpolatedImage< T >, SourceXtractor::ImageChunk< T >, SourceXtractor::FunctionalImage< T >, SourceXtractor::BufferedImage< T >, SourceXtractor::RecenterImage< T >, SourceXtractor::MirrorImage< T >, and SourceXtractor::ConstantImage< T >.
Referenced by SourceXtractor::Lutz::labelImage(), and SourceXtractor::FitsWriter::writeFile().
|
pure virtual |
Get a string identifying this image in a human readable manner.
Implemented in SourceXtractor::VectorImage< T >, SourceXtractor::PaddedImage< T, CoordinateInterpolation >, SourceXtractor::ProcessedImage< T, P >, SourceXtractor::ThresholdedImage< T >, SourceXtractor::ImageChunk< T >, SourceXtractor::BufferedImage< T >, SourceXtractor::ConstantImage< T >, SourceXtractor::FunctionalImage< T >, SourceXtractor::RecenterImage< T >, SourceXtractor::MirrorImage< T >, and SourceXtractor::InterpolatedImage< T >.
|
pure virtual |
Returns the value of the pixel with the coordinates (x,y)
Implemented in SourceXtractor::VectorImage< T >, SourceXtractor::PaddedImage< T, CoordinateInterpolation >, SourceXtractor::ProcessedImage< T, P >, SourceXtractor::ThresholdedImage< T >, SourceXtractor::ConstantImage< T >, SourceXtractor::RecenterImage< T >, SourceXtractor::MirrorImage< T >, SourceXtractor::ImageChunk< T >, SourceXtractor::BufferedImage< T >, SourceXtractor::FunctionalImage< T >, and SourceXtractor::InterpolatedImage< T >.
Referenced by SourceXtractor::MultiThresholdNode::getTotalIntensity(), SourceXtractor::Image< T >::getValue(), SourceXtractor::VectorImage< T >::VectorImage(), and SourceXtractor::FitsWriter::writeFile().
|
inline |
Definition at line 60 of file Image.h.
References SourceXtractor::Image< T >::getValue(), SourceXtractor::PixelCoordinate::m_x, and SourceXtractor::PixelCoordinate::m_y.
|
pure virtual |
Returns the width of the image in pixels.
Implemented in SourceXtractor::PaddedImage< T, CoordinateInterpolation >, SourceXtractor::VectorImage< T >, SourceXtractor::ProcessedImage< T, P >, SourceXtractor::ThresholdedImage< T >, SourceXtractor::InterpolatedImage< T >, SourceXtractor::ImageChunk< T >, SourceXtractor::ConstantImage< T >, SourceXtractor::BufferedImage< T >, SourceXtractor::FunctionalImage< T >, SourceXtractor::RecenterImage< T >, and SourceXtractor::MirrorImage< T >.
Referenced by SourceXtractor::Lutz::labelImage(), and SourceXtractor::FitsWriter::writeFile().