SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
#include <LockedWriteableImage.h>
Public Member Functions | |
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... | |
T | getValue (int x, int y) const override |
Returns the value of the pixel with the coordinates (x,y) More... | |
void | setValue (int x, int y, T value) override |
![]() | |
virtual | ~ImageBase () |
virtual std::shared_ptr< ImageChunk< T > > | getChunk (int x, int y, int width, int height) const override |
![]() | |
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... | |
![]() | |
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 | |
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::recursive_mutex > | m_lock |
Additional Inherited Members | |
![]() | |
using | PixelType = T |
Definition at line 19 of file LockedWriteableImage.h.
|
inlineprotected |
Definition at line 21 of file LockedWriteableImage.h.
|
inlinestatic |
Definition at line 26 of file LockedWriteableImage.h.
Referenced by SourceXtractor::CheckImages::getApertureImage(), SourceXtractor::CheckImages::getAutoApertureImage(), SourceXtractor::CheckImages::getGroupImage(), SourceXtractor::CheckImages::getModelFittingImage(), SourceXtractor::CheckImages::getMoffatImage(), SourceXtractor::CheckImages::getPartitionImage(), SourceXtractor::CheckImages::getPsfImage(), and SourceXtractor::CheckImages::getSegmentationImage().
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 38 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 30 of file LockedWriteableImage.h.
References SourceXtractor::LockedWriteableImage< T >::m_img.
|
inlineoverridevirtual |
Returns the value of the pixel with the coordinates (x,y)
Implements SourceXtractor::Image< T >.
Definition at line 42 of file LockedWriteableImage.h.
References SourceXtractor::LockedWriteableImage< T >::m_img, x, and y.
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::Image< T >.
Definition at line 34 of file LockedWriteableImage.h.
References SourceXtractor::LockedWriteableImage< T >::m_img.
|
inlineoverridevirtual |
Implements SourceXtractor::WriteableImage< T >.
Definition at line 46 of file LockedWriteableImage.h.
References SourceXtractor::LockedWriteableImage< T >::m_img, x, and y.
|
private |
Definition at line 51 of file LockedWriteableImage.h.
Referenced by SourceXtractor::LockedWriteableImage< T >::getHeight(), SourceXtractor::LockedWriteableImage< T >::getRepr(), SourceXtractor::LockedWriteableImage< T >::getValue(), SourceXtractor::LockedWriteableImage< T >::getWidth(), and SourceXtractor::LockedWriteableImage< T >::setValue().
|
private |
Definition at line 52 of file LockedWriteableImage.h.