IDepthFrame Interface

Represents a frame where each pixel represents the distance of the closest object seen by that pixel.

interface IDepthFrame : public IUnknown

IDepthFrame has the following members.

NameDescription
AccessUnderlyingBufferGets a pointer to the depth frame data.
CopyFrameDataToArrayCopies the depth frame data to an unsigned array.
get_DepthFrameSourceGets the source of the depth frame.
get_DepthMaxReliableDistanceGets the maximum reliable depth of the depth frame.
get_DepthMinReliableDistanceGets the minimum reliable depth of the depth frame.
get_FrameDescriptionGets the description of the depth frame.
get_RelativeTimeGets the timestamp of the depth frame.

The data for this frame is stored as 16-bit unsigned integers, where each value represents the distance in millimeters. The maximum depth distance is 8 meters, although reliability starts to degrade at around 4.5 meters. Developers can use the depth frame to build custom tracking algorithms in cases where the IBodyFrame isn’t enough.

Header: kinect.h
Library: kinect20.lib

Community Additions

ADD
Show: