|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|
#include <LockedWriteableImage.h>


Public Member Functions | |
| std::string | getRepr () const override |
| Get a string identifying this image in a human readable manner. | |
| int | getWidth () const override |
| Returns the width of the image in pixels. | |
| int | getHeight () const override |
| Returns the height of the image in pixels. | |
| void | setValue (int x, int y, T value) override |
| 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. | |
| 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 | |
| template<typename... Args> | |
| static std::shared_ptr< LockedWriteableImage< T > > | create (Args &&... args) |
Protected Member Functions | |
| LockedWriteableImage (std::shared_ptr< WriteableImage< T > > img) | |
Private Attributes | |
| std::shared_ptr< WriteableImage< T > > | m_img |
| std::lock_guard< std::mutex > | m_lock |
Additional Inherited Members | |
Public Types inherited from SourceXtractor::Image< T > | |
| using | PixelType = T |
Public Attributes inherited from SourceXtractor::WriteableImage< T > | |
| std::mutex | m_write_mutex |
Definition at line 18 of file LockedWriteableImage.h.
|
inlineexplicitprotected |
Definition at line 20 of file LockedWriteableImage.h.
|
inlinestatic |
Definition at line 25 of file LockedWriteableImage.h.
Referenced by SourceXtractor::CheckImages::getDetectionApertureImage(), SourceXtractor::CheckImages::getDetectionAutoApertureImage(), SourceXtractor::CheckImages::getGroupImage(), SourceXtractor::CheckImages::getMeasurementApertureImage(), SourceXtractor::CheckImages::getMeasurementAutoApertureImage(), SourceXtractor::CheckImages::getMLDetectionImage(), SourceXtractor::CheckImages::getModelFittingImage(), SourceXtractor::CheckImages::getMoffatImage(), SourceXtractor::CheckImages::getPartitionImage(), SourceXtractor::CheckImages::getPsfImage(), and SourceXtractor::CheckImages::getSegmentationImage().
|
inlineoverridevirtual |
Implements SourceXtractor::Image< T >.
Definition at line 45 of file LockedWriteableImage.h.
References SourceXtractor::LockedWriteableImage< T >::m_img, x, and y.
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 37 of file LockedWriteableImage.h.
References SourceXtractor::LockedWriteableImage< T >::m_img.
|
inlineoverridevirtual |
Get a string identifying this image in a human readable manner.
Implements SourceXtractor::Image< T >.
Definition at line 29 of file LockedWriteableImage.h.
References SourceXtractor::LockedWriteableImage< T >::m_img.
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 33 of file LockedWriteableImage.h.
References SourceXtractor::LockedWriteableImage< T >::m_img.
|
inlineoverridevirtual |
Implements SourceXtractor::WriteableImage< T >.
Definition at line 41 of file LockedWriteableImage.h.
References SourceXtractor::LockedWriteableImage< T >::m_img, x, and y.
|
private |
Definition at line 50 of file LockedWriteableImage.h.
Referenced by SourceXtractor::LockedWriteableImage< T >::getChunk(), SourceXtractor::LockedWriteableImage< T >::getHeight(), SourceXtractor::LockedWriteableImage< T >::getRepr(), SourceXtractor::LockedWriteableImage< T >::getWidth(), and SourceXtractor::LockedWriteableImage< T >::setValue().
|
private |
Definition at line 51 of file LockedWriteableImage.h.