ENUM
ArdkFrameData.ImageFormat
public enum ImageFormat
Supported image formats for camera and depth data.
These formats define how pixel data is organized in memory and what each pixel value represents. Different formats are used for color images versus depth images.
Cases
unknown
case unknown
Unknown or unsupported image format.
YUV420NV12
case YUV420NV12
YUV 4:2:0 format with NV12 plane arrangement.
Common format for camera data with Y plane followed by interleaved UV plane.
YUV420NV21
case YUV420NV21
YUV 4:2:0 format with NV21 plane arrangement.
Similar to NV12 but with interleaved VU plane instead of UV.
YUV420888
case YUV420888
YUV 4:2:0 format with separate Y, U, V planes.
Each color component is stored in a separate plane.
oneComponent8
case oneComponent8
Single 8-bit component per pixel.
Typically used for grayscale images or single-channel data.
depthUInt16
case depthUInt16
Depth data as 16-bit unsigned integers.
Common format for depth cameras, with depth values in millimeters.
depthFloat32
case depthFloat32
Depth data as 32-bit floating point values.
High-precision depth format, typically with values in meters.
oneComponent32
case oneComponent32
Single 32-bit component per pixel.
Used for high-precision single-channel data.
ARGB32
case ARGB32
32-bit ARGB color format.
8 bits each for alpha, red, green, and blue channels.
RGBA32
case RGBA32
32-bit RGBA color format.
8 bits each for red, green, blue, and alpha channels.
BGRA32
case BGRA32
32-bit BGRA color format.
8 bits each for blue, green, red, and alpha channels.
RGB24
case RGB24
24-bit RGB color format.
8 bits each for red, green, and blue channels (no alpha).