SourceXtractorPlusPlus
0.8
Please provide a description of the project.
|
#include <ConstantImage.h>
Public Member Functions | |
virtual | ~ConstantImage ()=default |
std::string | getRepr () const override |
Get a string identifying this image in a human readable manner. More... | |
int | getHeight () const override |
Returns the height of the image in pixels. More... | |
int | getWidth () const override |
Returns the width of the image in pixels. More... | |
T | getValue (int, int) const override |
Returns the value of the pixel with the coordinates (x,y) 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 < ConstantImage< T > > | create (int width, int height, T constant_value) |
Protected Member Functions | |
ConstantImage (int width, int height, T constant_value) | |
Private Attributes | |
int | m_width |
int | m_height |
T | m_constant_value |
Additional Inherited Members | |
![]() | |
using | PixelType = T |
Definition at line 33 of file ConstantImage.h.
|
inlineprotected |
Definition at line 36 of file ConstantImage.h.
Referenced by SourceXtractor::ConstantImage< T >::create().
|
virtualdefault |
|
inlinestatic |
Definition at line 42 of file ConstantImage.h.
References SourceXtractor::ConstantImage< T >::ConstantImage().
Referenced by SourceXtractor::SimpleBackgroundAnalyzer::analyzeBackground(), SourceXtractor::ProcessedImage< T, P >::create(), SourceXtractor::Frame< T >::Frame(), SourceXtractor::Frame< T >::getBackgroundLevelMap(), and SEMain::mainMethod().
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 53 of file ConstantImage.h.
References SourceXtractor::ConstantImage< T >::m_height.
|
inlineoverridevirtual |
Get a string identifying this image in a human readable manner.
Implements SourceXtractor::Image< T >.
Definition at line 48 of file ConstantImage.h.
References SourceXtractor::ConstantImage< T >::m_constant_value, SourceXtractor::ConstantImage< T >::m_height, SourceXtractor::ConstantImage< T >::m_width, and std::to_string().
|
inlineoverridevirtual |
Returns the value of the pixel with the coordinates (x,y)
Implements SourceXtractor::Image< T >.
Definition at line 62 of file ConstantImage.h.
References SourceXtractor::ConstantImage< T >::m_constant_value.
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 57 of file ConstantImage.h.
References SourceXtractor::ConstantImage< T >::m_width.
|
private |
Definition at line 70 of file ConstantImage.h.
Referenced by SourceXtractor::ConstantImage< T >::getRepr(), and SourceXtractor::ConstantImage< T >::getValue().
|
private |
Definition at line 69 of file ConstantImage.h.
Referenced by SourceXtractor::ConstantImage< T >::getHeight(), and SourceXtractor::ConstantImage< T >::getRepr().
|
private |
Definition at line 68 of file ConstantImage.h.
Referenced by SourceXtractor::ConstantImage< T >::getRepr(), and SourceXtractor::ConstantImage< T >::getWidth().