SourceXtractorPlusPlus
0.11
Please provide a description of the project.
|
#include <ConstantImage.h>
Public Member Functions | |
virtual | ~ConstantImage ()=default |
std::string | getRepr () const final |
Get a string identifying this image in a human readable manner. More... | |
int | getHeight () const final |
Returns the height of the image in pixels. More... | |
int | getWidth () const final |
Returns the width of the image in pixels. More... | |
T | getValue (int, int) const final |
Returns the value of the pixel with the coordinates (x,y) More... | |
std::shared_ptr< ImageChunk< T > > | getChunk (int, int, int width, int height) const final |
![]() | |
virtual | ~ImageBase () |
![]() | |
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::SEBackgroundLevelAnalyzer::analyzeBackground(), SourceXtractor::SimpleBackgroundAnalyzer::analyzeBackground(), SourceXtractor::ProcessedImage< T, P >::create(), SourceXtractor::Frame< T >::Frame(), SourceXtractor::Frame< T >::getBackgroundLevelMap(), and SEMain::mainMethod().
|
inlinefinalvirtual |
Reimplemented from SourceXtractor::ImageBase< T >.
Definition at line 66 of file ConstantImage.h.
References SourceXtractor::UniversalImageChunk< T >::create(), ModelFitting::height, SourceXtractor::ConstantImage< T >::m_constant_value, and ModelFitting::width.
|
inlinefinalvirtual |
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.
|
inlinefinalvirtual |
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().
|
inlinefinalvirtual |
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.
|
inlinefinalvirtual |
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 74 of file ConstantImage.h.
Referenced by SourceXtractor::ConstantImage< T >::getChunk(), SourceXtractor::ConstantImage< T >::getRepr(), and SourceXtractor::ConstantImage< T >::getValue().
|
private |
Definition at line 73 of file ConstantImage.h.
Referenced by SourceXtractor::ConstantImage< T >::getHeight(), and SourceXtractor::ConstantImage< T >::getRepr().
|
private |
Definition at line 72 of file ConstantImage.h.
Referenced by SourceXtractor::ConstantImage< T >::getRepr(), and SourceXtractor::ConstantImage< T >::getWidth().