DepthMediaFrame.MaxReliableDepth 屬性

定義

取得值,指定擷取深度框架之相機的最大可靠深度值。

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

屬性值

UInt32

unsigned int

uint32_t

值,指定擷取深度框架之相機的最大可靠深度值。

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

備註

深度相機可能無法可靠地感知用於在深度媒體畫面中表示深度的 UInt16 值完整範圍的深度。 MaxReliableDepth的值是由深度相機裝置設定,以指出裝置可以可靠地擷取深度資料之 UInt16 範圍內的值上限。 您可以安全地限制大於此值的深度圖元值。 可靠深度值的下限是使用 MinReliableDepth 屬性來指定。 這些屬性會以與個別深度圖元值相同的單位表示。 您可以將MaxReliableDepth轉換為公尺,方法是將它乘以DepthMediaFrame物件的DepthFormat屬性DepthScaleInMeters屬性值。

適用於