共用方式為


PerceptionDepthCorrelatedCoordinateMapper.MapRegionOfPixelsToTargetAsync 方法

定義

將相機影像空間中的圖元區域對應至深度影像空間。

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[]

圖元座標,對應至深度影像空間。

傳回

此函式會以非同步方式傳回。

屬性

適用於