Share via


PerceptionDepthCorrelatedCameraIntrinsics.UnprojectPixelsAtCorrelatedDepth Method

Definition

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

public:
 virtual void UnprojectPixelsAtCorrelatedDepth(Platform::Array <Point> ^ sourceCoordinates, PerceptionDepthFrame ^ depthFrame, Platform::Array <float3> ^ results) = UnprojectPixelsAtCorrelatedDepth;
void UnprojectPixelsAtCorrelatedDepth(winrt::array_view <Point> const& sourceCoordinates, 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")]
void UnprojectPixelsAtCorrelatedDepth(winrt::array_view <Point> const& sourceCoordinates, PerceptionDepthFrame const& depthFrame, winrt::array_view <float3> & results);
public void UnprojectPixelsAtCorrelatedDepth(Point[] sourceCoordinates, 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 void UnprojectPixelsAtCorrelatedDepth(Point[] sourceCoordinates, PerceptionDepthFrame depthFrame, Vector3[] results);
function unprojectPixelsAtCorrelatedDepth(sourceCoordinates, depthFrame, results)
Public Sub UnprojectPixelsAtCorrelatedDepth (sourceCoordinates As Point(), depthFrame As PerceptionDepthFrame, results As Vector3())

Parameters

sourceCoordinates
Point[]

A set of points, relative to the camera frame.

depthFrame
PerceptionDepthFrame

The depth frame containing the depth value to use when projecting the points into camera space. The pixelCoordinate will be mapped from camera image space to depth image space, and then used to look up the depth in depthFrame.

results

Vector3[]

Vector3[]

float3[]

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

Attributes

Applies to