Share via


DepthImageFrame.MaxDepth Property

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Gets the maximum depth value (in millimeters) for the depth sensor range setting used to capture this frame.

Syntax

public int MaxDepth { get; }

Property Value

Type: Int32
The maximum depth value.

Remarks

The CopyDepthImagePixelDataTo method may return depth values greater than the maximum reliable depth. It is the application’s responsibility to determine whether such depth values should be used.

The CopyPixelDataTo method will not return measured depth values greater than the maximum reliable depth. Any such depth values will instead be returned with the same value as the TooFarDepth property.

Depth values outside the reliable range are ignored by the skeleton stream.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

DepthImageFrame Class
DepthImageFrame Members
Microsoft.Kinect Namespace