PerceptionDepthCorrelatedCameraIntrinsics.UnprojectAllPixelsAtCorrelatedDepthAsync Method

Definition

Unprojects all pixels in an image from camera image space out into the coordinate frame of the camera device, using the corresponding depth values from a correlated depth camera.

public:
 virtual IAsyncAction ^ UnprojectAllPixelsAtCorrelatedDepthAsync(PerceptionDepthFrame ^ depthFrame, Platform::Array <float3> ^ results) = UnprojectAllPixelsAtCorrelatedDepthAsync;
IAsyncAction UnprojectAllPixelsAtCorrelatedDepthAsync(PerceptionDepthFrame const& depthFrame, winrt::array_view <float3> & results);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCameraIntrinsics may be unavailable after Windows Creator Update.  Use Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IAsyncAction UnprojectAllPixelsAtCorrelatedDepthAsync(PerceptionDepthFrame const& depthFrame, winrt::array_view <float3> & results);
public IAsyncAction UnprojectAllPixelsAtCorrelatedDepthAsync(PerceptionDepthFrame depthFrame, Vector3[] results);
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCameraIntrinsics 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 UnprojectAllPixelsAtCorrelatedDepthAsync(PerceptionDepthFrame depthFrame, Vector3[] results);
function unprojectAllPixelsAtCorrelatedDepthAsync(depthFrame, results)
Public Function UnprojectAllPixelsAtCorrelatedDepthAsync (depthFrame As PerceptionDepthFrame, results As Vector3()) As IAsyncAction

Parameters

depthFrame
PerceptionDepthFrame

The depth frame containing the depth value to use when projecting the points into camera space. The coordinates of each pixel in the image will be mapped from camera image space to depth image space, and then used to look up the depth in this depth frame.

results

Vector3[]

Vector3[]

float3[]

Returns a set of coordinates, relative to the coordinate system of the camera device and with correlated depth values.

Returns

This method returns asynchronously.

Attributes

Applies to