PerceptionDepthCorrelatedCoordinateMapper.MapPixelToTarget 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將相機影像空間的圖元對應至深度影像空間。
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
要對應圖元的深度框架。
傳回
傳回圖元座標與深度影像空間的對應。
- 屬性