|
SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
#include <PaddedImage.h>
Public Member Functions | |
| 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... | |
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... | |
| T | getValue (PixelCoordinate pc) const |
| bool | isInside (int x, int y) const |
| Returns true if the given coordinates are inside the image bounds. More... | |
Public Member Functions inherited from std::enable_shared_from_this< ImageBase< T > > | |
| 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< 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 74 of file PaddedImage.h.
|
inlineprotected |
Definition at line 76 of file PaddedImage.h.
|
inlinestatic |
Definition at line 87 of file PaddedImage.h.
Referenced by SourceXtractor::DFTConvolution< DetectionImage::PixelType, PaddedType >::padKernel().
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 105 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 91 of file PaddedImage.h.
References SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_img.
|
inlineoverridevirtual |
Returns the value of the pixel with the coordinates (x,y)
Implements SourceXtractor::Image< T >.
Definition at line 95 of file PaddedImage.h.
References SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_img, SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_lpad, SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_tpad, x, and y.
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 101 of file PaddedImage.h.
References SourceXtractor::PaddedImage< T, CoordinateInterpolation >::m_width.
|
private |
Definition at line 111 of file PaddedImage.h.
Referenced by SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getHeight(), and SourceXtractor::PaddedImage< T, nullptr >::getHeight().
|
private |
Definition at line 110 of file PaddedImage.h.
Referenced by SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getRepr(), SourceXtractor::PaddedImage< T, nullptr >::getRepr(), SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getValue(), and SourceXtractor::PaddedImage< T, nullptr >::getValue().
|
private |
Definition at line 112 of file PaddedImage.h.
Referenced by SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getValue(), and SourceXtractor::PaddedImage< T, nullptr >::getValue().
|
private |
Definition at line 112 of file PaddedImage.h.
Referenced by SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getValue(), and SourceXtractor::PaddedImage< T, nullptr >::getValue().
|
private |
Definition at line 111 of file PaddedImage.h.
Referenced by SourceXtractor::PaddedImage< T, CoordinateInterpolation >::getWidth(), and SourceXtractor::PaddedImage< T, nullptr >::getWidth().
1.8.14