|
farm-ng-core
|
Layout of the image: width, height and pitch in bytes. More...
#include <layout.h>
Public Member Functions | |
| ImageLayout ()=default | |
| ImageLayout (ImageSize image_size, size_t pitch_bytes) | |
| ImageLayout (int width, int height, size_t pitch_bytes) | |
| auto | imageSize () const -> sophus::ImageSize const & |
| auto | width () const -> int |
| auto | height () const -> int |
| auto | pitchBytes () const -> size_t |
| auto | area () const -> size_t |
| auto | sizeBytes () const -> size_t |
| auto | isEmpty () const -> bool |
Static Public Member Functions | |
| template<class TPixelFormat > | |
| static auto | makeFromSizeAndPitch (ImageSize image_size, size_t pitch_bytes) -> ImageLayout |
| template<class TPixelFormat > | |
| static auto | makeFromSize (sophus::ImageSize image_size) -> ImageLayout |
Layout of the image: width, height and pitch in bytes.
|
default |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |