PerceptionDepthCorrelatedCameraIntrinsics.UnprojectRegionPixelsAtCorrelatedDepthAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用相关深度相机中的相应深度值,将图像中的像素区域从相机图像空间中解投影到相机设备的坐标帧中。
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 将从相机图像空间映射到深度图像空间,然后用于查找深度帧中的深度。
返回
此方法异步返回。
- 属性