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[]
圖元座標,對應至深度影像空間。
傳回
此函式會以非同步方式傳回。
- 屬性