SourceXtractorPlusPlus
0.15
Please provide a description of the project.
|
Processes two images to create a third combining them by using any function. More...
#include <ProcessedImage.h>
Public Member Functions | |
virtual | ~ProcessedImage ()=default |
Destructor. More... | |
std::string | getRepr () const override |
Get a string identifying this image in a human readable manner. 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... | |
std::shared_ptr< ImageChunk< T > > | getChunk (int x, int y, int width, int height) const override |
![]() | |
virtual | ~Image ()=default |
Destructor. More... | |
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. More... | |
Static Public Member Functions | |
static std::shared_ptr< ProcessedImage< T, P > > | create (std::shared_ptr< const Image< T >> image_a, std::shared_ptr< const Image< T >> image_b) |
static std::shared_ptr< ProcessedImage< T, P > > | create (std::shared_ptr< const Image< T >> image_a, T value) |
Protected Member Functions | |
ProcessedImage (std::shared_ptr< const Image< T >> image_a, std::shared_ptr< const Image< T >> image_b) | |
Private Attributes | |
std::shared_ptr< const Image< T > > | m_image_a |
std::shared_ptr< const Image< T > > | m_image_b |
Additional Inherited Members | |
![]() | |
using | PixelType = T |
Processes two images to create a third combining them by using any function.
Definition at line 36 of file ProcessedImage.h.
|
inlineprotected |
Definition at line 40 of file ProcessedImage.h.
References SourceXtractor::ProcessedImage< T, P >::m_image_a, and SourceXtractor::ProcessedImage< T, P >::m_image_b.
|
virtualdefault |
Destructor.
|
inlinestatic |
Definition at line 53 of file ProcessedImage.h.
Referenced by SourceXtractor::SEBackgroundLevelAnalyzer::analyzeBackground(), SourceXtractor::SimpleBackgroundAnalyzer::analyzeBackground(), SourceXtractor::Frame< T >::getSnrImage(), SourceXtractor::Frame< T >::getSubtractedImage(), SourceXtractor::DetectionImageConfig::initialize(), SourceXtractor::MeasurementFrameConfig::initialize(), SourceXtractor::MeasurementImageConfig::initialize(), SourceXtractor::WeightImageConfig::initialize(), SEMain::mainMethod(), SourceXtractor::MultiThresholdPartitionStep::partition(), and SourceXtractor::CheckImages::saveImages().
|
inlinestatic |
Definition at line 58 of file ProcessedImage.h.
|
inlineoverridevirtual |
Implements SourceXtractor::Image< T >.
Definition at line 75 of file ProcessedImage.h.
References SourceXtractor::UniversalImageChunk< T >::create(), SourceXtractor::ProcessedImage< T, P >::m_image_a, SourceXtractor::ProcessedImage< T, P >::m_image_b, std::move(), x, and y.
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 71 of file ProcessedImage.h.
References SourceXtractor::ProcessedImage< T, P >::m_image_a.
|
inlineoverridevirtual |
Get a string identifying this image in a human readable manner.
Implements SourceXtractor::Image< T >.
Definition at line 63 of file ProcessedImage.h.
References SourceXtractor::ProcessedImage< T, P >::m_image_a, and SourceXtractor::ProcessedImage< T, P >::m_image_b.
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 67 of file ProcessedImage.h.
References SourceXtractor::ProcessedImage< T, P >::m_image_a.
|
private |
Definition at line 89 of file ProcessedImage.h.
Referenced by SourceXtractor::ProcessedImage< T, P >::getChunk(), SourceXtractor::ProcessedImage< T, P >::getHeight(), SourceXtractor::ProcessedImage< T, P >::getRepr(), SourceXtractor::ProcessedImage< T, P >::getWidth(), and SourceXtractor::ProcessedImage< T, P >::ProcessedImage().
|
private |
Definition at line 90 of file ProcessedImage.h.
Referenced by SourceXtractor::ProcessedImage< T, P >::getChunk(), SourceXtractor::ProcessedImage< T, P >::getRepr(), and SourceXtractor::ProcessedImage< T, P >::ProcessedImage().