|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|
#include <PaddedImage.h>


Public Member Functions | |
| std::string | getRepr () const override |
| Get a string identifying this image in a human readable manner. | |
| int | getWidth () const override |
| Returns the width of the image in pixels. | |
| int | getHeight () const override |
| Returns the height of the image in pixels. | |
| 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. | |
| 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. | |
Static Public Member Functions | |
| template<typename... Args> | |
| static std::shared_ptr< PaddedImage< T, CoordinateInterpolation > > | create (Args &&... args) |
Protected Member Functions | |
| PaddedImage (std::shared_ptr< const Image< T > > img, int width, int height) | |
Private Attributes | |
| std::shared_ptr< const Image< T > > | m_img |
| int | m_width |
| int | m_height |
| int | m_lpad |
| int | m_tpad |
Additional Inherited Members | |
Public Types inherited from SourceXtractor::Image< T > | |
| using | PixelType = T |
Definition at line 76 of file PaddedImage.h.
|
inlineprotected |
Definition at line 78 of file PaddedImage.h.
References SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_height, SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_lpad, SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_tpad, and SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_width.
|
inlinestatic |
Definition at line 89 of file PaddedImage.h.
Referenced by SourceXtractor::DFTConvolution< T, TPadding >::padKernel().
|
inlineoverridevirtual |
Implements SourceXtractor::Image< T >.
Definition at line 105 of file PaddedImage.h.
References SourceXtractor::UniversalImageChunk< T >::create(), SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_img, SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_lpad, SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_tpad, x, and y.

|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 101 of file PaddedImage.h.
References SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_height.
|
inlineoverridevirtual |
Get a string identifying this image in a human readable manner.
Implements SourceXtractor::Image< T >.
Definition at line 93 of file PaddedImage.h.
References SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_img.
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 97 of file PaddedImage.h.
References SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_width.
|
private |
Definition at line 122 of file PaddedImage.h.
Referenced by SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getHeight(), SourceXtractor::PaddedImage< T, nullptr >::getHeight(), SourceXtractor::PaddedImage< T, CoordinateInterpolation >::PaddedImage(), and SourceXtractor::PaddedImage< T, nullptr >::PaddedImage().
|
private |
Definition at line 121 of file PaddedImage.h.
Referenced by SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getChunk(), SourceXtractor::PaddedImage< T, nullptr >::getChunk(), SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getRepr(), and SourceXtractor::PaddedImage< T, nullptr >::getRepr().
|
private |
Definition at line 123 of file PaddedImage.h.
Referenced by SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getChunk(), SourceXtractor::PaddedImage< T, nullptr >::getChunk(), SourceXtractor::PaddedImage< T, CoordinateInterpolation >::PaddedImage(), and SourceXtractor::PaddedImage< T, nullptr >::PaddedImage().
|
private |
Definition at line 123 of file PaddedImage.h.
Referenced by SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getChunk(), SourceXtractor::PaddedImage< T, nullptr >::getChunk(), SourceXtractor::PaddedImage< T, CoordinateInterpolation >::PaddedImage(), and SourceXtractor::PaddedImage< T, nullptr >::PaddedImage().
|
private |
Definition at line 122 of file PaddedImage.h.
Referenced by SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getWidth(), SourceXtractor::PaddedImage< T, nullptr >::getWidth(), SourceXtractor::PaddedImage< T, CoordinateInterpolation >::PaddedImage(), and SourceXtractor::PaddedImage< T, nullptr >::PaddedImage().