SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SourceXtractor::InterpolatedImage< T > Class Template Reference

#include <InterpolatedImage.h>

Inheritance diagram for SourceXtractor::InterpolatedImage< T >:
[legend]
Collaboration diagram for SourceXtractor::InterpolatedImage< T >:
[legend]

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...
 
- Public Member Functions inherited from SourceXtractor::ImageBase< T >
virtual ~ImageBase ()
 
virtual std::shared_ptr
< ImageChunk< T > > 
getChunk (int x, int y, int width, int height) const override
 
- Public Member Functions inherited from SourceXtractor::Image< T >
virtual ~Image ()=default
 Destructor. More...
 
getValue (PixelCoordinate pc) const
 
- Public Member Functions inherited from std::enable_shared_from_this< ImageBase< T > >
enable_shared_from_this (T...args)
 
operator= (T...args)
 
shared_from_this (T...args)
 
~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
 
m_variance_threshold
 
int m_max_gap
 

Additional Inherited Members

- Public Types inherited from SourceXtractor::Image< T >
using PixelType = T
 

Detailed Description

template<typename T>
class SourceXtractor::InterpolatedImage< T >

Definition at line 32 of file InterpolatedImage.h.

Constructor & Destructor Documentation

template<typename T >
SourceXtractor::InterpolatedImage< T >::InterpolatedImage ( std::shared_ptr< Image< T >>  image,
std::shared_ptr< Image< T >>  variance_map,
variance_threshold,
int  max_gap 
)
inlineprotected

Definition at line 35 of file InterpolatedImage.h.

template<typename T >
virtual SourceXtractor::InterpolatedImage< T >::~InterpolatedImage ( )
virtualdefault

Member Function Documentation

template<typename T >
static std::shared_ptr<InterpolatedImage<T> > SourceXtractor::InterpolatedImage< T >::create ( std::shared_ptr< Image< T >>  image,
std::shared_ptr< Image< T >>  variance_map,
variance_threshold,
int  max_gap 
)
inlinestatic

Definition at line 41 of file InterpolatedImage.h.

template<typename T >
virtual int SourceXtractor::InterpolatedImage< T >::getHeight ( ) const
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.

template<typename T >
virtual std::string SourceXtractor::InterpolatedImage< T >::getRepr ( ) const
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.

template<typename T >
virtual T SourceXtractor::InterpolatedImage< T >::getValue ( int  x,
int  y 
) const
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.

Here is the call graph for this function:

template<typename T >
virtual int SourceXtractor::InterpolatedImage< T >::getWidth ( ) const
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.

template<typename T >
bool SourceXtractor::InterpolatedImage< T >::isPixelGood ( int  x,
int  y 
) const
inlineprivate

Member Data Documentation

template<typename T >
std::shared_ptr<Image<T> > SourceXtractor::InterpolatedImage< T >::m_image
private
template<typename T >
int SourceXtractor::InterpolatedImage< T >::m_max_gap
private
template<typename T >
std::shared_ptr<Image<T> > SourceXtractor::InterpolatedImage< T >::m_variance_map
private
template<typename T >
T SourceXtractor::InterpolatedImage< T >::m_variance_threshold
private

The documentation for this class was generated from the following file: