PerceptionDepthCorrelatedCoordinateMapper.MapAllPixelsToTargetAsync 方法

定义

将图像中的所有像素从相机图像空间映射到深度图像空间。

public:
 virtual IAsyncAction ^ MapAllPixelsToTargetAsync(PerceptionDepthFrame ^ depthFrame, Platform::Array <Point> ^ targetCoordinates) = MapAllPixelsToTargetAsync;
IAsyncAction MapAllPixelsToTargetAsync(PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & targetCoordinates);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCoordinateMapper may be unavailable after Windows Creator Update.  Use Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IAsyncAction MapAllPixelsToTargetAsync(PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & targetCoordinates);
public IAsyncAction MapAllPixelsToTargetAsync(PerceptionDepthFrame depthFrame, Point[] targetCoordinates);
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCoordinateMapper 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 MapAllPixelsToTargetAsync(PerceptionDepthFrame depthFrame, Point[] targetCoordinates);
function mapAllPixelsToTargetAsync(depthFrame, targetCoordinates)
Public Function MapAllPixelsToTargetAsync (depthFrame As PerceptionDepthFrame, targetCoordinates As Point()) As IAsyncAction

参数

depthFrame
PerceptionDepthFrame

要将像素映射到的深度帧。

targetCoordinates
Point[]

返回映射到深度图像空间的像素坐标。

返回

此函数异步返回。

属性

适用于