#include <camera_types.h>
|
| Image (ImageFormat format, uint32_t width, uint32_t height, size_t stride, size_t length, const uint8_t *data) |
|
| Image (ImageFormat format, uint32_t width, uint32_t height, size_t stride, std::vector< uint8_t > &&data) |
|
ImageFormat | Format () const |
|
uint32_t | Width () const |
|
uint32_t | Height () const |
|
uint32_t | Stride () const |
|
size_t | Length () const |
|
const uint8_t * | Data () const |
|
| Image (ImageFormat format, uint32_t width, uint32_t height, size_t stride, size_t length, const uint8_t *data) |
|
| Image (ImageFormat format, uint32_t width, uint32_t height, size_t stride, std::vector< uint8_t > &&data) |
|
ImageFormat | Format () const |
|
uint32_t | Width () const |
|
uint32_t | Height () const |
|
uint32_t | Stride () const |
|
size_t | Length () const |
|
const uint8_t * | Data () const |
|
Represents an image where image data is managed. Unlike ImageData, the data in Image has its own copy of instead of sharing it with SDK.
◆ Image() [1/4]
zebra::camera_sdk::Image::Image |
( |
ImageFormat |
format, |
|
|
uint32_t |
width, |
|
|
uint32_t |
height, |
|
|
size_t |
stride, |
|
|
size_t |
length, |
|
|
const uint8_t * |
data |
|
) |
| |
Construct an Image object.
- Parameters
-
width | of the image in pixels. |
height | of the image in pixels. |
image | stride. |
length | of the image in pixels. |
raw | pointer to a buffer with image data. |
◆ Image() [2/4]
zebra::camera_sdk::Image::Image |
( |
ImageFormat |
format, |
|
|
uint32_t |
width, |
|
|
uint32_t |
height, |
|
|
size_t |
stride, |
|
|
std::vector< uint8_t > && |
data |
|
) |
| |
Construct an Image object.
- Parameters
-
width | of the image in pixels. |
height | of the image in pixels. |
image | stride. |
length | of the image in pixels. |
reference | to a vector which contains image data. |
◆ Image() [3/4]
zebra::camera_sdk::Image::Image |
( |
ImageFormat |
format, |
|
|
uint32_t |
width, |
|
|
uint32_t |
height, |
|
|
size_t |
stride, |
|
|
size_t |
length, |
|
|
const uint8_t * |
data |
|
) |
| |
Construct an Image object.
- Parameters
-
width | of the image in pixels. |
height | of the image in pixels. |
image | stride. |
length | of the image in pixels. |
raw | pointer to a buffer with image data. |
◆ Image() [4/4]
zebra::camera_sdk::Image::Image |
( |
ImageFormat |
format, |
|
|
uint32_t |
width, |
|
|
uint32_t |
height, |
|
|
size_t |
stride, |
|
|
std::vector< uint8_t > && |
data |
|
) |
| |
Construct an Image object.
- Parameters
-
width | of the image in pixels. |
height | of the image in pixels. |
image | stride. |
length | of the image in pixels. |
reference | to a vector which contains image data. |
◆ Data() [1/2]
const uint8_t* zebra::camera_sdk::Image::Data |
( |
| ) |
const |
◆ Data() [2/2]
const uint8_t* zebra::camera_sdk::Image::Data |
( |
| ) |
const |
◆ Format() [1/2]
ImageFormat zebra::camera_sdk::Image::Format |
( |
| ) |
const |
◆ Format() [2/2]
ImageFormat zebra::camera_sdk::Image::Format |
( |
| ) |
const |
◆ Height() [1/2]
uint32_t zebra::camera_sdk::Image::Height |
( |
| ) |
const |
◆ Height() [2/2]
uint32_t zebra::camera_sdk::Image::Height |
( |
| ) |
const |
◆ Length() [1/2]
size_t zebra::camera_sdk::Image::Length |
( |
| ) |
const |
◆ Length() [2/2]
size_t zebra::camera_sdk::Image::Length |
( |
| ) |
const |
◆ Stride() [1/2]
uint32_t zebra::camera_sdk::Image::Stride |
( |
| ) |
const |
◆ Stride() [2/2]
uint32_t zebra::camera_sdk::Image::Stride |
( |
| ) |
const |
◆ Width() [1/2]
uint32_t zebra::camera_sdk::Image::Width |
( |
| ) |
const |
◆ Width() [2/2]
uint32_t zebra::camera_sdk::Image::Width |
( |
| ) |
const |
The documentation for this class was generated from the following file: