Share via


NuiDepthPixelToDepth

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Unpacks the depth value from the packed pixel format.

Syntax

USHORT NuiDepthPixelToDepth(
         USHORT packedPixel
)

Parameters

  • packedPixel
    Type: USHORT
    The packed pixel depth.

Return Value

Type: USHORT
Returns the unpacked pixel depth.

Requirements

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