Share via


PerceptionDepthCorrelatedCameraIntrinsics.UnprojectPixelAtCorrelatedDepth Method

Definition

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

public:
 virtual float3 UnprojectPixelAtCorrelatedDepth(Point pixelCoordinate, PerceptionDepthFrame ^ depthFrame) = UnprojectPixelAtCorrelatedDepth;
float3 UnprojectPixelAtCorrelatedDepth(Point const& pixelCoordinate, PerceptionDepthFrame const& depthFrame);
/// [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")]
float3 UnprojectPixelAtCorrelatedDepth(Point const& pixelCoordinate, PerceptionDepthFrame const& depthFrame);
public Vector3 UnprojectPixelAtCorrelatedDepth(Point pixelCoordinate, PerceptionDepthFrame depthFrame);
[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 Vector3 UnprojectPixelAtCorrelatedDepth(Point pixelCoordinate, PerceptionDepthFrame depthFrame);
function unprojectPixelAtCorrelatedDepth(pixelCoordinate, depthFrame)
Public Function UnprojectPixelAtCorrelatedDepth (pixelCoordinate As Point, depthFrame As PerceptionDepthFrame) As Vector3

Parameters

pixelCoordinate
Point

A point, relative to the camera frame.

depthFrame
PerceptionDepthFrame

The depth frame containing the depth value to use when projecting the point 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.

Returns

Vector3 Vector3

float3

An unprojected coordinate, relative to the coordinate system of the camera device. The coordinate is located in front of the camera, at the depth of the corresponding pixel in depthFrame.

Attributes

Applies to