Share via


PerceptionDepthCorrelatedCameraIntrinsics.UnprojectPixelAtCorrelatedDepth 方法

定义

使用相关深度相机中的相应深度,将相机图像空间中的点取消投影到相机设备的坐标帧中。

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

参数

pixelCoordinate
Point

相对于相机帧的点。

depthFrame
PerceptionDepthFrame

深度帧,其中包含在将点投影到相机空间时要使用的深度值。 pixelCoordinate 将从相机图像空间映射到深度图像空间,然后用于查找深度帧中的深度。

返回

Vector3 Vector3

float3

相对于相机设备的坐标系的未投影坐标。 坐标位于相机前面,位于深度帧中相应像素的深度处。

属性

适用于