IC Imaging Control C++

Standard Mediasubtype GUIDs

Standard Mediasubtype GUIDs

Mediasubtype GUIDs are used to define color formats for FrameTypeInfo or as uncompressed video formats in MediaStreamSink::create.
Most subtypes have an equivalent in tColorformatEnum.
For a description of the pixel organization in the various color formats, have a look at the example Accessing an Image Buffer.
Constant Description
MEDIASUBTYPE_RGB24 24-bit color format, tColorformatEnum::eRGB24
MEDIASUBTYPE_RGB32 32-bit color format, tColorformatEnum::eRGB32
MEDIASUBTYPE_RGB64 64-bit color format, tColorformatEnum::eRGB64. Contains data in 16-bit values. Pixel Layout: uint16_t B, G, R, x;
MEDIASUBTYPE_Y800 8-bit grayscale format, tColorformatEnum::eY800. In contrast to RGB8, the images are stored top-down.
MEDIASUBTYPE_Y16 16-bit grayscale format, tColorformatEnum::eY16.
MEDIASUBTYPE_UYVY Color format, tColorformatEnum::eUYVY. Pixel Layout: uint8_t U, Y0, V, Y1;
MEDIASUBTYPE_YUY2 Color format, tColorformatEnum::YUY2. Pixel Layout: uint8_t Y0, U, Y1, V;
MEDIASUBTYPE_RGB8 8-bit grayscale format, tColorformatEnum::eRGB8 and tColorformatEnum::eY8
MEDIASUBTYPE_RGB555 16-bit color format, tColorformatEnum::eRGB555
MEDIASUBTYPE_RGB565 16-bit color format, tColorformatEnum::eRGB565
MEDIASUBTYPE_BY8 8-bit format containing a bayer pattern, tColorformatEnum::eBY8. See Debayering for information on how to handle this format.
MEDIASUBTYPE_YGB0 10-bit grayscale format, tColorformatEnum::eYGB0
MEDIASUBTYPE_YGB1 10-bit grayscale format, tColorformatEnum::eYGB1

<< Constants

Get in touch with us

About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us