|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
#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. | |
| int | getHeight () const final |
| Returns the height of the image in pixels. | |
| int | getWidth () const final |
| Returns the width of the image in pixels. | |
| std::shared_ptr< ImageChunk< T > > | getChunk (int, int, int width, int height) const final |
| 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 | |
| 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 | |
| Public Types inherited from SourceXtractor::Image< T > | |
| using | PixelType = T |
Definition at line 33 of file ConstantImage.h.
|
inlineprotected |
Definition at line 36 of file ConstantImage.h.
References m_constant_value, m_height, and m_width.
Referenced by create().
|
virtualdefault |
|
inlinestatic |
Definition at line 42 of file ConstantImage.h.
References ConstantImage().
Referenced by SourceXtractor::SEBackgroundLevelAnalyzer::analyzeBackground(), SourceXtractor::SimpleBackgroundAnalyzer::analyzeBackground(), SourceXtractor::ProcessedImage< T, SubtractOperation< T > >::create(), SourceXtractor::Frame< T >::Frame(), SourceXtractor::Frame< T >::getBackgroundLevelMap(), SourceXtractor::DetectionFrameConfig::initialize(), SourceXtractor::MeasurementFrameConfig::initialize(), BenchBackgroundModel::mainMethod(), and SourceXtractor::Frame< T >::setBackgroundLevel().

|
inlinefinalvirtual |
Implements SourceXtractor::Image< T >.
Definition at line 61 of file ConstantImage.h.
References SourceXtractor::UniversalImageChunk< T >::create(), and m_constant_value.

|
inlinefinalvirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 53 of file ConstantImage.h.
References 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 m_constant_value, m_height, m_width, and std::to_string().

|
inlinefinalvirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 57 of file ConstantImage.h.
References m_width.
|
private |
Definition at line 69 of file ConstantImage.h.
Referenced by ConstantImage(), getChunk(), and getRepr().
|
private |
Definition at line 68 of file ConstantImage.h.
Referenced by ConstantImage(), getHeight(), and getRepr().
|
private |
Definition at line 67 of file ConstantImage.h.
Referenced by ConstantImage(), getRepr(), and getWidth().