NUI_BACKGROUND_REMOVED_COLOR_FRAME Structure
Kinect for Windows 1.8
Represents a color frame with the background removed.
Syntax
typedef struct _NUI_BACKGROUND_REMOVED_COLOR_FRAME {
LARGE_INTEGER liTimeStamp;
BYTE *pBackgroundRemovedColorData;
UINT backgroundRemovedColorDataLength;
NUI_IMAGE_RESOLUTION backgroundRemovedColorFrameResolution;
USHORT averageDepth;
DWORD trackedPlayerID;
} NUI_BACKGROUND_REMOVED_COLOR_FRAME;
Members
- liTimeStamp
Timestamp for this frame. - pBackgroundRemovedColorData
Pointer to the first byte of the background-removed color frame. - backgroundRemovedColorDataLength
Length of the frame pointed to by the pBackgroundRemovedColorData member, in bytes. - backgroundRemovedColorFrameResolution
NUI_IMAGE_RESOLUTION value that indicates the resolution of this frame. - averageDepth
Average depth of the pixels that correspond to the person in the foreground, in meters. - trackedPlayerID
Tracking ID of the person that corresponds to the only pixels that are not removed from the color frame.
Requirements
Header: Declared in kinectbackgroundremoval.h.
Library: Use KinectBackgroundRemoval180_32.lib for 32-bit applications and use KinectBackgroundRemoval180_64.lib for 64-bit applications.