SourceXtractorPlusPlus
0.8
Please provide a description of the project.
|
#include <ImageChunk.h>
Public Member Functions | |
virtual | ~UniversalImageChunk () |
![]() | |
virtual | ~ImageChunk () |
std::string | getRepr () const override |
Get a string identifying this image in a human readable manner. More... | |
T | getValue (int x, int y) const final |
Returns the value of the pixel with the coordinates (x,y) More... | |
int | getWidth () const final |
Returns the width of the image chunk in pixels. More... | |
int | getHeight () const final |
Returns the height of the image chunk in pixels. More... | |
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 |
![]() | |
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 < UniversalImageChunk< T > > | create (Args &&...args) |
![]() | |
static std::shared_ptr < ImageChunk< T > > | create (const T *data, int width, int height, int stride, std::shared_ptr< const Image< T >> image=nullptr) |
Protected Member Functions | |
UniversalImageChunk (std::shared_ptr< const Image< T >> image, int x, int y, int width, int height) | |
UniversalImageChunk (std::vector< T > &&data, int width, int height) | |
![]() | |
ImageChunk (const T *data, int width, int height, int stride, std::shared_ptr< const Image< T >> image=nullptr) | |
void | setDataPtr (const T *data) |
Private Attributes | |
std::vector< T > | m_chunk_vector |
Additional Inherited Members | |
![]() | |
using | PixelType = T |
Definition at line 93 of file ImageChunk.h.
|
inlineprotected |
Definition at line 96 of file ImageChunk.h.
References SourceXtractor::UniversalImageChunk< T >::m_chunk_vector, and SourceXtractor::ImageChunk< T >::setDataPtr().
|
inlineprotected |
Definition at line 109 of file ImageChunk.h.
References SourceXtractor::UniversalImageChunk< T >::m_chunk_vector, std::move(), and SourceXtractor::ImageChunk< T >::setDataPtr().
|
inlinevirtual |
Definition at line 122 of file ImageChunk.h.
|
inlinestatic |
Definition at line 118 of file ImageChunk.h.
Referenced by SourceXtractor::ImageBase< T >::getChunk(), SourceXtractor::BufferedImage< T >::getChunk(), and SourceXtractor::ProcessedImage< T, P >::getChunk().
|
private |
Definition at line 126 of file ImageChunk.h.
Referenced by SourceXtractor::UniversalImageChunk< T >::UniversalImageChunk().