ImageSpec Struct
Image-tensor metadata: pixel format and (optional) color space. More...
Declaration
Included Headers
Enumerations Index
| enum class | PixelFormat { ... } |
|
Pixel format enumeration covering the framework's supported image layouts. More... | |
Public Member Attributes Index
| PixelFormat | format = PixelFormat::UNKNOWN |
|
Pixel format of the image data. More... | |
| std::string | color_space |
|
Color space hint (e.g., "bt709", "srgb"); empty = unspecified. More... | |
Description
Image-tensor metadata: pixel format and (optional) color space.
Set on the Tensor::semantic.image optional when the tensor carries pixel data. The pixel format is the structural shape (channels, plane count); color space is informational.
Definition at line 136 of file TensorCore.h.
Enumerations
PixelFormat
| strong |
Pixel format enumeration covering the framework's supported image layouts.
- Enumeration values
Definition at line 138 of file TensorCore.h.
Public Member Attributes
color_space
|
Color space hint (e.g., "bt709", "srgb"); empty = unspecified.
Definition at line 148 of file TensorCore.h.
format
|
Pixel format of the image data.
Definition at line 147 of file TensorCore.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.