PerceptionDepthCorrelatedCameraIntrinsics.UnprojectPixelAtCorrelatedDepth 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用相关深度相机中的相应深度,将相机图像空间中的点取消投影到相机设备的坐标帧中。
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 将从相机图像空间映射到深度图像空间,然后用于查找深度帧中的深度。
返回
相对于相机设备的坐标系的未投影坐标。 坐标位于相机前面,位于深度帧中相应像素的深度处。
- 属性