enum ov::preprocess::ColorFormat

Overview

Color format enumeration for conversion. More…

#include <color_format.hpp>

enum ColorFormat
{
    UNDEFINED,
    NV12_SINGLE_PLANE,
    NV12_TWO_PLANES,
    I420_SINGLE_PLANE,
    I420_THREE_PLANES,
    RGB,
    BGR,
    GRAY,
    RGBX,
    BGRX,
};

Detailed Documentation

Color format enumeration for conversion.

Enum Values

UNDEFINED

Undefined color format.

NV12_SINGLE_PLANE

Image in NV12 format represented as separate tensors for Y and UV planes.

NV12_TWO_PLANES

Image in NV12 format represented as separate tensors for Y and UV planes.

I420_SINGLE_PLANE

Image in I420 (YUV) format as single tensor.

I420_THREE_PLANES

Image in I420 format represented as separate tensors for Y, U and V planes.

RGB

Image in RGB interleaved format (3 channels)

BGR

Image in BGR interleaved format (3 channels)

GRAY

Image in GRAY format (1 channel)

RGBX

Image in RGBX interleaved format (4 channels)

BGRX

Image in BGRX interleaved format (4 channels)