PerceptionDepthCorrelatedCoordinateMapper.MapPixelsToTarget 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將相機影像空間中的一組圖元對應至深度影像空間。
public:
virtual void MapPixelsToTarget(Platform::Array <Point> ^ sourceCoordinates, PerceptionDepthFrame ^ depthFrame, Platform::Array <Point> ^ results) = MapPixelsToTarget;
void MapPixelsToTarget(winrt::array_view <Point> const& sourceCoordinates, PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & results);
/// [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")]
void MapPixelsToTarget(winrt::array_view <Point> const& sourceCoordinates, PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & results);
public void MapPixelsToTarget(Point[] sourceCoordinates, PerceptionDepthFrame depthFrame, Point[] results);
[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 void MapPixelsToTarget(Point[] sourceCoordinates, PerceptionDepthFrame depthFrame, Point[] results);
function mapPixelsToTarget(sourceCoordinates, depthFrame, results)
Public Sub MapPixelsToTarget (sourceCoordinates As Point(), depthFrame As PerceptionDepthFrame, results As Point())
參數
- sourceCoordinates
- Point[]
相機影像空間中的一組圖元座標。
- depthFrame
- PerceptionDepthFrame
要對應圖元的深度框架。
- results
- Point[]
圖元座標與深度影像空間的對應。
- 屬性