DepthMediaFrame.MaxReliableDepth DepthMediaFrame.MaxReliableDepth DepthMediaFrame.MaxReliableDepth DepthMediaFrame.MaxReliableDepth DepthMediaFrame.MaxReliableDepth Property

Definition

Gets a value that specifies the maximum reliable depth value for the camera that captured the depth frame.

public : unsigned int MaxReliableDepth { get; }
uint32_t MaxReliableDepth();
public uint MaxReliableDepth { get; }
Public ReadOnly Property MaxReliableDepth As uint
var uint = depthMediaFrame.maxReliableDepth;

Property Value

uint uint uint

A value that specifies the maximum reliable depth value for the camera that captured the depth frame.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

A depth camera may not be able to reliably sense the depth for the full range of the UInt16 value that is used to express depth in a depth media frame. The value of MaxReliableDepth is set by the depth camera device to indicate the upper limit of values within the UInt16 range for which the device can reliably capture depth data. You can safely clamp depth pixel values greater than this value. The lower limit of reliable depth values is specified with the MinReliableDepth property. These properties are expressed in the same units as the individual depth pixel values. You can convert MaxReliableDepth to meters by multiplying it by the value of the DepthScaleInMeters property of the DepthFormat property of the DepthMediaFrame object.