![]() |
LibraryLink Utilities
3.0.1
Modern C++ wrapper over LibraryLink and WSTP
|
Abstract class that defines a basic set of operations on an image.
Inheritance diagram for LLU::ImageInterface:#include <Interfaces.h>
Public Member Functions | |
| virtual colorspace_t | colorspace () const =0 |
| Get colorspace which describes how colors are represented as numbers. More... | |
| virtual mint | rows () const =0 |
| Get number of rows. More... | |
| virtual mint | columns () const =0 |
| Get number of columns. More... | |
| virtual mint | slices () const =0 |
| Get number of slices. More... | |
| virtual mint | channels () const =0 |
| Get number of channels. More... | |
| virtual bool | alphaChannelQ () const =0 |
| Check if there is an alpha channel in the image. More... | |
| virtual bool | interleavedQ () const =0 |
| Check if the image is interleaved. More... | |
| virtual bool | is3D () const =0 |
| Check if the image is 3D. More... | |
| virtual mint | getRank () const =0 |
| Get rank. More... | |
| virtual mint | getFlattenedLength () const =0 |
| Get the total number of pixels in the image. More... | |
| virtual imagedata_t | type () const =0 |
| Get the data type of the image. More... | |
| virtual void * | rawData () const =0 |
| Get access to raw image data. More... | |
|
pure virtual |
Check if there is an alpha channel in the image.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Get number of channels.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Get colorspace which describes how colors are represented as numbers.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Get number of columns.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Get the total number of pixels in the image.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Get rank.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Check if the image is interleaved.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Check if the image is 3D.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Get access to raw image data.
Use with caution.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Get number of rows.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Get number of slices.
Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.
|
pure virtual |
Get the data type of the image.
imagedata_t) Implemented in LLU::MContainer< MArgumentType::Image >, and LLU::ImageView.