PerceptionDepthCorrelatedCoordinateMapper.MapRegionOfPixelsToTargetAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将像素区域从相机图像空间映射到深度图像空间。
public:
virtual IAsyncAction ^ MapRegionOfPixelsToTargetAsync(Rect region, PerceptionDepthFrame ^ depthFrame, Platform::Array <Point> ^ targetCoordinates) = MapRegionOfPixelsToTargetAsync;
IAsyncAction MapRegionOfPixelsToTargetAsync(Rect const& region, 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 MapRegionOfPixelsToTargetAsync(Rect const& region, PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & targetCoordinates);
public IAsyncAction MapRegionOfPixelsToTargetAsync(Rect region, 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 MapRegionOfPixelsToTargetAsync(Rect region, PerceptionDepthFrame depthFrame, Point[] targetCoordinates);
function mapRegionOfPixelsToTargetAsync(region, depthFrame, targetCoordinates)
Public Function MapRegionOfPixelsToTargetAsync (region As Rect, depthFrame As PerceptionDepthFrame, targetCoordinates As Point()) As IAsyncAction
参数
- region
- Rect
从相机图像空间映射到深度图像空间的像素区域。
- depthFrame
- PerceptionDepthFrame
将像素区域映射到的深度帧。
- targetCoordinates
- Point[]
映射到深度图像空间的像素坐标。
返回
此函数异步返回。
- 属性