SourceXtractorPlusPlus
0.15
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 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 |
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. More... | |
Interface representing an image.
T | the type of the pixel values |
using SourceXtractor::Image< T >::PixelType = T |
|
virtualdefault |
Destructor.
|
inline |
|
pure virtual |
Implemented in SourceXtractor::ConstantImage< T >, SourceXtractor::LockedWriteableImage< T >, SourceXtractor::VectorImage< T >, SourceXtractor::VectorImage< DetectionImage::PixelType >, SourceXtractor::VectorImage< int >, SourceXtractor::VectorImage< SeFloat >, SourceXtractor::ThresholdedImage< T >, SourceXtractor::SubImage< T >, SourceXtractor::RecenterImage< T >, SourceXtractor::ProcessedImage< T, P >, SourceXtractor::PaddedImage< T, nullptr >, SourceXtractor::PaddedImage< T, CoordinateInterpolation >, SourceXtractor::MirrorImage< T >, SourceXtractor::ImageAccessor< T >, SourceXtractor::ImageAccessor< FlagImage::PixelType >, SourceXtractor::ImageAccessor< WriteableInterfaceType::PixelType >, SourceXtractor::ClippedImage< T >, SourceXtractor::BufferedImage< T >, SourceXtractor::MaskedImage< T, M, Operator >, and SourceXtractor::FunctionalImage< T, I >.
Referenced by SourceXtractor::Image< M >::getChunk(), SourceXtractor::Lutz::labelImage(), SourceXtractor::ImageMode< T >::processCell(), and SourceXtractor::VectorImage< SeFloat >::VectorImage().
|
pure virtual |
Returns the height of the image in pixels.
Implemented in SourceXtractor::LockedWriteableImage< T >, SourceXtractor::ThresholdedImage< T >, SourceXtractor::SubImage< T >, SourceXtractor::RecenterImage< T >, SourceXtractor::ProcessedImage< T, P >, SourceXtractor::PaddedImage< T, nullptr >, SourceXtractor::PaddedImage< T, CoordinateInterpolation >, SourceXtractor::MirrorImage< T >, SourceXtractor::ImageAccessor< T >, SourceXtractor::ImageAccessor< FlagImage::PixelType >, SourceXtractor::ImageAccessor< WriteableInterfaceType::PixelType >, SourceXtractor::ClippedImage< T >, SourceXtractor::BufferedImage< T >, SourceXtractor::VectorImage< T >, SourceXtractor::VectorImage< DetectionImage::PixelType >, SourceXtractor::VectorImage< int >, SourceXtractor::VectorImage< SeFloat >, SourceXtractor::MaskedImage< T, M, Operator >, SourceXtractor::FunctionalImage< T, I >, and SourceXtractor::ConstantImage< T >.
Referenced by SourceXtractor::fillCutout(), SourceXtractor::BFSSegmentation::getTiles(), SourceXtractor::Image< M >::isInside(), SourceXtractor::Lutz::labelImage(), SourceXtractor::ImageMode< T >::processCell(), SourceXtractor::VectorImage< SeFloat >::VectorImage(), and SourceXtractor::FitsWriter::writeFile().
|
pure virtual |
Get a string identifying this image in a human readable manner.
Implemented in SourceXtractor::LockedWriteableImage< T >, SourceXtractor::ThresholdedImage< T >, SourceXtractor::SubImage< T >, SourceXtractor::RecenterImage< T >, SourceXtractor::ProcessedImage< T, P >, SourceXtractor::PaddedImage< T, nullptr >, SourceXtractor::PaddedImage< T, CoordinateInterpolation >, SourceXtractor::MirrorImage< T >, SourceXtractor::ImageAccessor< T >, SourceXtractor::ImageAccessor< FlagImage::PixelType >, SourceXtractor::ImageAccessor< WriteableInterfaceType::PixelType >, SourceXtractor::ClippedImage< T >, SourceXtractor::BufferedImage< T >, SourceXtractor::VectorImage< T >, SourceXtractor::VectorImage< DetectionImage::PixelType >, SourceXtractor::VectorImage< int >, SourceXtractor::VectorImage< SeFloat >, SourceXtractor::MaskedImage< T, M, Operator >, SourceXtractor::FunctionalImage< T, I >, and SourceXtractor::ConstantImage< T >.
|
pure virtual |
Returns the width of the image in pixels.
Implemented in SourceXtractor::LockedWriteableImage< T >, SourceXtractor::ThresholdedImage< T >, SourceXtractor::SubImage< T >, SourceXtractor::RecenterImage< T >, SourceXtractor::ProcessedImage< T, P >, SourceXtractor::PaddedImage< T, nullptr >, SourceXtractor::PaddedImage< T, CoordinateInterpolation >, SourceXtractor::MirrorImage< T >, SourceXtractor::ImageAccessor< T >, SourceXtractor::ImageAccessor< FlagImage::PixelType >, SourceXtractor::ImageAccessor< WriteableInterfaceType::PixelType >, SourceXtractor::ClippedImage< T >, SourceXtractor::BufferedImage< T >, SourceXtractor::VectorImage< T >, SourceXtractor::VectorImage< DetectionImage::PixelType >, SourceXtractor::VectorImage< int >, SourceXtractor::VectorImage< SeFloat >, SourceXtractor::MaskedImage< T, M, Operator >, SourceXtractor::FunctionalImage< T, I >, and SourceXtractor::ConstantImage< T >.
Referenced by SourceXtractor::fillCutout(), SourceXtractor::BFSSegmentation::getTiles(), SourceXtractor::Image< M >::isInside(), SourceXtractor::Lutz::labelImage(), SourceXtractor::ImageMode< T >::processCell(), SourceXtractor::VectorImage< SeFloat >::VectorImage(), and SourceXtractor::FitsWriter::writeFile().
|
inline |
Returns true if the given coordinates are inside the image bounds.
Definition at line 72 of file Image.h.
Referenced by SourceXtractor::Image< M >::getChunk().