DepthFrame Class

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

No code example is currently available or this language may not be supported.

DepthFrame has the following members.

NameDescription
DepthFrameSource Gets the source of the depth frame.
DepthMaxReliableDistanceGets the maximum reliable depth of the depth frame, in millimeters.
DepthMinReliableDistanceGets the minimum reliable depth of the depth frame, in millimeters.
FrameDescription Gets the description of the depth frame.
RelativeTime Gets the timestamp of the depth frame.

NameDescription
CloseReleases system resources associated with the depth frame.
CopyFrameDataToArrayCopies the depth frame data into the array provided.
CopyFrameDataToBufferCopies the depth frame data into the memory location provided.
LockImageBufferGives an app access to the underlying buffer used by the system to store this frame's data.

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 BodyFrame isn’t enough.

Namespace: WindowsPreview.Kinect
Metadata: windowspreview.kinect.winmd

Community Additions

ADD
Show: