SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
#include <FunctionalImage.h>
Public Types | |
using | FunctorType = std::function< T(int x, int y)> |
![]() | |
using | PixelType = T |
Public Member Functions | |
virtual | ~FunctionalImage ()=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... | |
![]() | |
virtual | ~ImageBase () |
virtual std::shared_ptr < ImageChunk< T > > | getChunk (int x, int y, int width, int height) const override |
![]() | |
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 | |
template<typename... Args> | |
static std::shared_ptr < ImageBase< T > > | create (Args &&...args) |
Protected Member Functions | |
FunctionalImage (int width, int height, FunctorType functor) | |
Private Attributes | |
int | m_width |
int | m_height |
FunctorType | m_functor |
Definition at line 31 of file FunctionalImage.h.
using SourceXtractor::FunctionalImage< T >::FunctorType = std::function<T(int x, int y)> |
Definition at line 33 of file FunctionalImage.h.
|
inlineprotected |
Definition at line 36 of file FunctionalImage.h.
|
virtualdefault |
|
inlinestatic |
Definition at line 44 of file FunctionalImage.h.
Referenced by SourceXtractor::Frame< T >::applyFilter(), SourceXtractor::BackgroundModel::BackgroundModel(), and SourceXtractor::BgDFTConvolutionImageSource::generateTile().
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 60 of file FunctionalImage.h.
References SourceXtractor::FunctionalImage< T >::m_height.
Referenced by SourceXtractor::BgDFTConvolutionImageSource::generateTile().
|
inlineoverridevirtual |
Get a string identifying this image in a human readable manner.
Implements SourceXtractor::Image< T >.
Definition at line 48 of file FunctionalImage.h.
References SourceXtractor::FunctionalImage< T >::m_functor, and std::function::target_type().
|
inlineoverridevirtual |
Returns the value of the pixel with the coordinates (x,y)
Implements SourceXtractor::Image< T >.
Definition at line 52 of file FunctionalImage.h.
References SourceXtractor::FunctionalImage< T >::m_functor.
Referenced by SourceXtractor::BgDFTConvolutionImageSource::generateTile().
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 56 of file FunctionalImage.h.
References SourceXtractor::FunctionalImage< T >::m_width.
Referenced by SourceXtractor::BgDFTConvolutionImageSource::generateTile().
|
private |
Definition at line 66 of file FunctionalImage.h.
Referenced by SourceXtractor::FunctionalImage< T >::getRepr(), and SourceXtractor::FunctionalImage< T >::getValue().
|
private |
Definition at line 65 of file FunctionalImage.h.
Referenced by SourceXtractor::FunctionalImage< T >::getHeight().
|
private |
Definition at line 65 of file FunctionalImage.h.
Referenced by SourceXtractor::FunctionalImage< T >::getWidth().