SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
#include <InterpolatedImage.h>
Public Member Functions | |
virtual | ~InterpolatedImage ()=default |
virtual std::string | getRepr () const override |
Get a string identifying this image in a human readable manner. More... | |
virtual T | getValue (int x, int y) const override |
Returns the value of the pixel with the coordinates (x,y) More... | |
virtual int | getWidth () const override |
Returns the width of the image in pixels. More... | |
virtual 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 | |
static std::shared_ptr < InterpolatedImage< T > > | create (std::shared_ptr< Image< T >> image, std::shared_ptr< Image< T >> variance_map, T variance_threshold, int max_gap) |
Protected Member Functions | |
InterpolatedImage (std::shared_ptr< Image< T >> image, std::shared_ptr< Image< T >> variance_map, T variance_threshold, int max_gap) | |
Private Member Functions | |
bool | isPixelGood (int x, int y) const |
Private Attributes | |
std::shared_ptr< Image< T > > | m_image |
std::shared_ptr< Image< T > > | m_variance_map |
T | m_variance_threshold |
int | m_max_gap |
Additional Inherited Members | |
![]() | |
using | PixelType = T |
Definition at line 32 of file InterpolatedImage.h.
|
inlineprotected |
Definition at line 35 of file InterpolatedImage.h.
|
virtualdefault |
|
inlinestatic |
Definition at line 41 of file InterpolatedImage.h.
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 72 of file InterpolatedImage.h.
References SourceXtractor::InterpolatedImage< T >::m_image.
|
inlineoverridevirtual |
Get a string identifying this image in a human readable manner.
Implements SourceXtractor::Image< T >.
Definition at line 45 of file InterpolatedImage.h.
References SourceXtractor::InterpolatedImage< T >::m_image, and SourceXtractor::InterpolatedImage< T >::m_variance_map.
|
inlineoverridevirtual |
Returns the value of the pixel with the coordinates (x,y)
Implements SourceXtractor::Image< T >.
Definition at line 50 of file InterpolatedImage.h.
References SourceXtractor::InterpolatedImage< T >::isPixelGood(), SourceXtractor::InterpolatedImage< T >::m_image, and SourceXtractor::InterpolatedImage< T >::m_max_gap.
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 68 of file InterpolatedImage.h.
References SourceXtractor::InterpolatedImage< T >::m_image.
|
inlineprivate |
Definition at line 77 of file InterpolatedImage.h.
References SourceXtractor::InterpolatedImage< T >::m_variance_map, and SourceXtractor::InterpolatedImage< T >::m_variance_threshold.
Referenced by SourceXtractor::InterpolatedImage< T >::getValue().
|
private |
|
private |
Definition at line 85 of file InterpolatedImage.h.
Referenced by SourceXtractor::InterpolatedImage< T >::getValue().
|
private |
Definition at line 82 of file InterpolatedImage.h.
Referenced by SourceXtractor::InterpolatedImage< T >::getRepr(), and SourceXtractor::InterpolatedImage< T >::isPixelGood().
|
private |
Definition at line 83 of file InterpolatedImage.h.
Referenced by SourceXtractor::InterpolatedImage< T >::isPixelGood().