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

#include <PaddedImage.h>

Inheritance diagram for SourceXtractor::PaddedImage< T, nullptr >:
[legend]
Collaboration diagram for SourceXtractor::PaddedImage< T, nullptr >:
[legend]

Protected Member Functions

 PaddedImage (std::shared_ptr< const Image< T >> img, int width, int height, T default_value)
 
 PaddedImage (std::shared_ptr< const Image< T >> img, int width, int height)
 

Protected Attributes

int m_width
 
int m_height
 
int m_lpad
 
int m_tpad
 
m_default
 

Additional Inherited Members

- Public Types inherited from SourceXtractor::Image< T >
using PixelType = T
 
- Public Member Functions inherited from SourceXtractor::Image< T >
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...
 

Detailed Description

template<typename T>
class SourceXtractor::PaddedImage< T, nullptr >

Definition at line 128 of file PaddedImage.h.

Constructor & Destructor Documentation

template<typename T >
SourceXtractor::PaddedImage< T, nullptr >::PaddedImage ( std::shared_ptr< const Image< T >>  img,
int  width,
int  height,
default_value 
)
inlineprotected

Definition at line 130 of file PaddedImage.h.

template<typename T >
SourceXtractor::PaddedImage< T, nullptr >::PaddedImage ( std::shared_ptr< const Image< T >>  img,
int  width,
int  height 
)
inlineprotected

Definition at line 139 of file PaddedImage.h.

Member Data Documentation

template<typename T >
T SourceXtractor::PaddedImage< T, nullptr >::m_default
protected

Definition at line 186 of file PaddedImage.h.

template<typename T >
int SourceXtractor::PaddedImage< T, nullptr >::m_height
protected

Definition at line 139 of file PaddedImage.h.

template<typename T >
int SourceXtractor::PaddedImage< T, nullptr >::m_lpad
protected

Definition at line 185 of file PaddedImage.h.

template<typename T >
int SourceXtractor::PaddedImage< T, nullptr >::m_tpad
protected

Definition at line 185 of file PaddedImage.h.

template<typename T >
int SourceXtractor::PaddedImage< T, nullptr >::m_width
protected

Definition at line 139 of file PaddedImage.h.


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