Share via


PerceptionDepthCorrelatedCoordinateMapper.MapPixelToTarget Method

Definition

Maps a pixel from camera image space to depth image space.

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

Parameters

sourcePixelCoordinate
Point

A pixel coordinate, in camera image space.

depthFrame
PerceptionDepthFrame

The depth frame to map the pixel to.

Returns

Returns the mapping of the pixel coordinate to depth image space.

Attributes

Applies to