PerceptionDepthCorrelatedCoordinateMapper.MapAllPixelsToTargetAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将图像中的所有像素从相机图像空间映射到深度图像空间。
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[]
返回映射到深度图像空间的像素坐标。
返回
此函数异步返回。
- 属性