共用方式為


PerceptionDepthCorrelatedCoordinateMapper.MapPixelToTarget 方法

定義

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

public:
 virtual Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame ^ depthFrame) = MapPixelToTarget;
Point MapPixelToTarget(Point const& sourcePixelCoordinate, PerceptionDepthFrame const& depthFrame);
/// [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")]
Point MapPixelToTarget(Point const& sourcePixelCoordinate, PerceptionDepthFrame const& depthFrame);
public Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame depthFrame);
[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 Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame depthFrame);
function mapPixelToTarget(sourcePixelCoordinate, depthFrame)
Public Function MapPixelToTarget (sourcePixelCoordinate As Point, depthFrame As PerceptionDepthFrame) As Point

參數

sourcePixelCoordinate
Point

相機影像空間中的圖元座標。

depthFrame
PerceptionDepthFrame

要對應圖元的深度框架。

傳回

傳回圖元座標與深度影像空間的對應。

屬性

適用於