Share via


PerceptionDepthCorrelatedCoordinateMapper.MapAllPixelsToTargetAsync Method

Definition

Maps all pixels in an image from camera image space to depth image space.

public:
 virtual IAsyncAction ^ MapAllPixelsToTargetAsync(PerceptionDepthFrame ^ depthFrame, Platform::Array <Point> ^ targetCoordinates) = MapAllPixelsToTargetAsync;
IAsyncAction MapAllPixelsToTargetAsync(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 MapAllPixelsToTargetAsync(PerceptionDepthFrame const& depthFrame, winrt::array_view <Point> & targetCoordinates);
public IAsyncAction MapAllPixelsToTargetAsync(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 MapAllPixelsToTargetAsync(PerceptionDepthFrame depthFrame, Point[] targetCoordinates);
function mapAllPixelsToTargetAsync(depthFrame, targetCoordinates)
Public Function MapAllPixelsToTargetAsync (depthFrame As PerceptionDepthFrame, targetCoordinates As Point()) As IAsyncAction

Parameters

depthFrame
PerceptionDepthFrame

The depth frame to map the pixels to.

targetCoordinates
Point[]

Returns the pixel coordinates, mapped to depth image space.

Returns

This function returns asynchronously.

Attributes

Applies to