|
SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
Used to subtract a constant value from an Image. More...
#include <ThresholdedImage.h>
Public Member Functions | |
| virtual | ~ThresholdedImage ()=default |
| Destructor. More... | |
| 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 | |
| static std::shared_ptr< ThresholdedImage< T > > | create (std::shared_ptr< const Image< T >> image, std::shared_ptr< const Image< T >> variance_map, T threshold_multiplier) |
Protected Member Functions | |
| ThresholdedImage (std::shared_ptr< const Image< T >> image, std::shared_ptr< const Image< T >> variance_map, T threshold_multiplier) | |
Private Attributes | |
| std::shared_ptr< const Image< T > > | m_image |
| std::shared_ptr< const Image< T > > | m_variance_map |
| T | m_threshold_multiplier |
Additional Inherited Members | |
Public Types inherited from SourceXtractor::Image< T > | |
| using | PixelType = T |
Used to subtract a constant value from an Image.
Definition at line 41 of file ThresholdedImage.h.
|
inlineprotected |
Definition at line 45 of file ThresholdedImage.h.
References SourceXtractor::ThresholdedImage< T >::m_image, and SourceXtractor::ThresholdedImage< T >::m_variance_map.
|
virtualdefault |
Destructor.
|
inlinestatic |
Definition at line 58 of file ThresholdedImage.h.
Referenced by SourceXtractor::Frame< T >::getThresholdedImage().
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 76 of file ThresholdedImage.h.
References SourceXtractor::ThresholdedImage< T >::m_image.
|
inlineoverridevirtual |
Get a string identifying this image in a human readable manner.
Implements SourceXtractor::Image< T >.
Definition at line 63 of file ThresholdedImage.h.
References SourceXtractor::ThresholdedImage< T >::m_image.
|
inlineoverridevirtual |
Returns the value of the pixel with the coordinates (x,y)
Implements SourceXtractor::Image< T >.
Definition at line 68 of file ThresholdedImage.h.
References SourceXtractor::ThresholdedImage< T >::m_image, SourceXtractor::ThresholdedImage< T >::m_threshold_multiplier, SourceXtractor::ThresholdedImage< T >::m_variance_map, std::sqrt(), x, and y.
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 72 of file ThresholdedImage.h.
References SourceXtractor::ThresholdedImage< T >::m_image.
|
private |
Definition at line 81 of file ThresholdedImage.h.
Referenced by SourceXtractor::ThresholdedImage< T >::getHeight(), SourceXtractor::ThresholdedImage< T >::getRepr(), SourceXtractor::ThresholdedImage< T >::getValue(), SourceXtractor::ThresholdedImage< T >::getWidth(), and SourceXtractor::ThresholdedImage< T >::ThresholdedImage().
|
private |
Definition at line 82 of file ThresholdedImage.h.
Referenced by SourceXtractor::ThresholdedImage< T >::getValue().
|
private |
Definition at line 81 of file ThresholdedImage.h.
Referenced by SourceXtractor::ThresholdedImage< T >::getValue(), and SourceXtractor::ThresholdedImage< T >::ThresholdedImage().
1.8.14