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 Name | Description |
|---|---|
HB_VP_IMAGE_TYPE_U8C1 | Single channel uint_8 type. |
HB_VP_IMAGE_TYPE_U8C3 | Three channel uint_8 type. |
HB_VP_IMAGE_TYPE_U8C4 | Four channel uint_8 type. |
HB_VP_IMAGE_TYPE_S16C1 | Single channel int_16 type. |
HB_VP_IMAGE_TYPE_S16C2 | Dual channel int_16 type. |
HB_VP_IMAGE_TYPE_S16C3 | Three channel int_16 type. |
HB_VP_IMAGE_TYPE_S32C1 | Single channel int_32 type. |
HB_VP_IMAGE_TYPE_F32C1 | Single channel float_32 type. |
HB_VP_IMAGE_TYPE_F64C1 | Single channe float_64 type. |
HB_VP_IMAGE_TYPE_F64C2 | Doublr channe float_64 type. |
HB_VP_IMAGE_TYPE_U10C1 | Single CHANNE uint_10 type. |
HB_VP_IMAGE_TYPE_U12C1 | Single CHANNE uint_12 type. |
HB_VP_IMAGE_TYPE_U16C1 | Single CHANNE uint_16 type. |