holoscan::schema::ImageMetadataOptions
holoscan::schema::ImageMetadataOptions
This page is for version 5.0 (Latest) (default).
For other versions, use one of these documentation indexes:
- 5.0 (Latest) (default): https://docs.nvidia.com/holoscan/sdk-user-guide/5-0-latest/llms.txt
- ltsb-2.0: https://docs.nvidia.com/holoscan/sdk-user-guide/ltsb-2-0/llms.txt
- 4.6: https://docs.nvidia.com/holoscan/sdk-user-guide/4-6/llms.txt
- 4.5: https://docs.nvidia.com/holoscan/sdk-user-guide/4-5/llms.txt
- 4.4: https://docs.nvidia.com/holoscan/sdk-user-guide/4-4/llms.txt
- 4.3: https://docs.nvidia.com/holoscan/sdk-user-guide/4-3/llms.txt
- Archives: https://docs.nvidia.com/holoscan/sdk-user-guide/archives/llms.txt
Options encoded into serialized Image metadata.
#include <holoscan/schema/image_metadata.hpp>
Member variables
| Name | Type | Description |
|---|---|---|
height | int32_t | Image height in pixels. |
width | int32_t | Image width in pixels. |
encoding | ImageEncoding | Image pixel encoding. |
capture_timestamp_ns | int64_t | Instant the measurement was taken, in nanoseconds; zero when the producer has none. |
frame_id | std::string | Producer-defined coordinate frame name. |
device_sequence | uint64_t | Monotonic per-source sample number as the device reported it; zero when it has none. |
color_space | ColorSpace | Color primaries and transfer function the samples are encoded against. |
significant_bits | uint8_t | Bits of real precision per component; zero when it equals the container width, or kUnknownImageSignificantBits when unknown. |
roi_offset_x | int32_t | Column of the first pixel within the full sensor frame. |
roi_offset_y | int32_t | Row of the first pixel within the full sensor frame. |
plane_layouts | std::vector< ImagePlaneLayout > | Offset, row stride, and extent of each plane, in the plane order the encoding defines. |
exposure_time_ns | int64_t | Sensor integration time in nanoseconds; zero when not reported. |
gain | float | Linear sensor gain applied to the frame; zero when not reported. |