hbVPImageType

typedef enum { HB_VP_IMAGE_TYPE_U8C1 = 0, HB_VP_IMAGE_TYPE_U8C3, HB_VP_IMAGE_TYPE_U8C4, HB_VP_IMAGE_TYPE_S16C1, HB_VP_IMAGE_TYPE_S16C2, HB_VP_IMAGE_TYPE_S16C3, HB_VP_IMAGE_TYPE_S32C1, HB_VP_IMAGE_TYPE_F32C1, HB_VP_IMAGE_TYPE_F64C1, HB_VP_IMAGE_TYPE_F64C2, HB_VP_IMAGE_TYPE_U10C1, HB_VP_IMAGE_TYPE_U12C1, HB_VP_IMAGE_TYPE_U16C1 } hbVPImageType;

Enumeration of the type of picture, the type of picture includes the depth of the picture and the number of channels. Take a picture with uint8 data type as an example, when the imageFormat of the picture is HB_VP_IMAGE_FORMAT_RGB and its channel number is 3, its imageType is HB_VP_IMAGE_TYPE_U8C3. When its channel number is 4, its imageType is HB_VP_IMAGE_TYPE_U8C4; when the imageFormat of the image is HB_VP_IMAGE_FORMAT_Y and its channel number is 1, its imageType is HB_VP_IMAGE_TYPE_U8C1.

  • Member

    Member NameDescription
    HB_VP_IMAGE_TYPE_U8C1Single channel uint_8 type.
    HB_VP_IMAGE_TYPE_U8C3Three channel uint_8 type.
    HB_VP_IMAGE_TYPE_U8C4Four channel uint_8 type.
    HB_VP_IMAGE_TYPE_S16C1Single channel int_16 type.
    HB_VP_IMAGE_TYPE_S16C2Dual channel int_16 type.
    HB_VP_IMAGE_TYPE_S16C3Three channel int_16 type.
    HB_VP_IMAGE_TYPE_S32C1Single channel int_32 type.
    HB_VP_IMAGE_TYPE_F32C1Single channel float_32 type.
    HB_VP_IMAGE_TYPE_F64C1Single channe float_64 type.
    HB_VP_IMAGE_TYPE_F64C2Doublr channe float_64 type.
    HB_VP_IMAGE_TYPE_U10C1Single CHANNE uint_10 type.
    HB_VP_IMAGE_TYPE_U12C1Single CHANNE uint_12 type.
    HB_VP_IMAGE_TYPE_U16C1Single CHANNE uint_16 type.