Share via


PerceptionDepthCorrelatedCameraIntrinsics.UnprojectRegionPixelsAtCorrelatedDepthAsync 方法

定义

使用相关深度相机中的相应深度值,将图像中的像素区域从相机图像空间中解投影到相机设备的坐标帧中。

public:
 virtual IAsyncAction ^ UnprojectRegionPixelsAtCorrelatedDepthAsync(Rect region, PerceptionDepthFrame ^ depthFrame, Platform::Array <float3> ^ results) = UnprojectRegionPixelsAtCorrelatedDepthAsync;
IAsyncAction UnprojectRegionPixelsAtCorrelatedDepthAsync(Rect const& region, 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")]
IAsyncAction UnprojectRegionPixelsAtCorrelatedDepthAsync(Rect const& region, PerceptionDepthFrame const& depthFrame, winrt::array_view <float3> & results);
public IAsyncAction UnprojectRegionPixelsAtCorrelatedDepthAsync(Rect region, 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 IAsyncAction UnprojectRegionPixelsAtCorrelatedDepthAsync(Rect region, PerceptionDepthFrame depthFrame, Vector3[] results);
function unprojectRegionPixelsAtCorrelatedDepthAsync(region, depthFrame, results)
Public Function UnprojectRegionPixelsAtCorrelatedDepthAsync (region As Rect, depthFrame As PerceptionDepthFrame, results As Vector3()) As IAsyncAction

参数

region
Rect

从相机图像空间投影到相机设备的坐标帧中的像素区域。

depthFrame
PerceptionDepthFrame

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

results

Vector3[]

Vector3[]

float3[]

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

返回

此方法异步返回。

属性

适用于