Share via


NUI_IMAGE_TYPE Enumeration

Kinect for Windows 1.5, 1.6 (values added), 1.7

Image formats for sensor data streams.

Syntax

typedef enum _NUI_IMAGE_TYPE
{
    NUI_IMAGE_TYPE_COLOR,
    NUI_IMAGE_TYPE_COLOR_INFRARED,
    NUI_IMAGE_TYPE_COLOR_RAW_BAYER,
    NUI_IMAGE_TYPE_COLOR_RAW_YUV,
    NUI_IMAGE_TYPE_COLOR_YUV,
    NUI_IMAGE_TYPE_DEPTH,
    NUI_IMAGE_TYPE_DEPTH_AND_PLAYER_INDEX
} NUI_IMAGE_TYPE;

Constants

  Constant Description
NUI_IMAGE_TYPE_COLOR RGB color data from the color stream.
NUI_IMAGE_TYPE_COLOR_INFRARED Infrared data from the infrared stream. Introduced in 1.6.
NUI_IMAGE_TYPE_COLOR_RAW_BAYER Bayer color data (8 bits per pixel, layout in alternating pixels of red, green, and blue) from the color stream. Introduced in 1.6.
NUI_IMAGE_TYPE_COLOR_RAW_YUV Raw YUV color data (YUYV) from the color stream before conversion to RGB32.
NUI_IMAGE_TYPE_COLOR_YUV YUV color data from the color stream converted to RGB32.
NUI_IMAGE_TYPE_DEPTH Depth data from the depth stream.
NUI_IMAGE_TYPE_DEPTH_AND_PLAYER_INDEX Depth data combined with player index data. Player index data identifies pixels in the depth map that belong to a player; player index is generated by the skeleton tracking system.

Requirements

Header: Declared in NuiImageCamera.h; however, include NuiApi.h in your project.