PerceptionDepthCorrelatedCameraIntrinsics.UnprojectPixelsAtCorrelatedDepth 方法

定义

使用相关深度相机的相应深度值,将相机图像空间中的一组点取消投影到相机设备的坐标帧中。

public:
 virtual void UnprojectPixelsAtCorrelatedDepth(Platform::Array <Point> ^ sourceCoordinates, PerceptionDepthFrame ^ depthFrame, Platform::Array <float3> ^ results) = UnprojectPixelsAtCorrelatedDepth;
void UnprojectPixelsAtCorrelatedDepth(winrt::array_view <Point> const& sourceCoordinates, PerceptionDepthFrame const& depthFrame, winrt::array_view <float3> & results);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCameraIntrinsics may be unavailable after Windows Creator Update.  Use Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
void UnprojectPixelsAtCorrelatedDepth(winrt::array_view <Point> const& sourceCoordinates, PerceptionDepthFrame const& depthFrame, winrt::array_view <float3> & results);
public void UnprojectPixelsAtCorrelatedDepth(Point[] sourceCoordinates, PerceptionDepthFrame depthFrame, Vector3[] results);
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCameraIntrinsics may be unavailable after Windows Creator Update.  Use Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public void UnprojectPixelsAtCorrelatedDepth(Point[] sourceCoordinates, PerceptionDepthFrame depthFrame, Vector3[] results);
function unprojectPixelsAtCorrelatedDepth(sourceCoordinates, depthFrame, results)
Public Sub UnprojectPixelsAtCorrelatedDepth (sourceCoordinates As Point(), depthFrame As PerceptionDepthFrame, results As Vector3())

参数

sourceCoordinates
Point[]

相对于相机帧的一组点。

depthFrame
PerceptionDepthFrame

包含将点投影到相机空间时要使用的深度值的深度帧。 pixelCoordinate 将从相机图像空间映射到深度图像空间,然后用于在深度帧中查找深度。

results

Vector3[]

Vector3[]

float3[]

一组坐标,相对于相机设备的坐标系,以及相关的深度值。

属性

适用于