dl::ImageEncodingSource
dl::ImageEncodingSource
Pixel data for ImageEncoder::encode (uint8 or float32).
#include <EncoderDispatch.hpp>
Public Attributes
| Name | |
|---|---|
| ImageSize | size |
| int | channels |
| bool | is_8bit |
| std::vector< uint8_t > | data_u8 |
| std::vector< float > | data_f32 |
Public Attributes Documentation
variable size
ImageSize size;variable channels
int channels = 1;variable is_8bit
bool is_8bit = true;variable data_u8
std::vector< uint8_t > data_u8;variable data_f32
std::vector< float > data_f32;Updated on 2026-11-13 at 20:25:42 +0000