PerceptionDepthCorrelatedCameraIntrinsics.UnprojectPixelsAtCorrelatedDepth 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用相关深度相机中的相应深度值,将相机图像空间中的一组点取消投影到相机设备的坐标帧中。
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())
参数
- sourceCoordinates
- Point[]
相对于相机帧的一组点。
- depthFrame
- PerceptionDepthFrame
深度帧,其中包含在将点投影到相机空间时要使用的深度值。 pixelCoordinate 将从相机图像空间映射到深度图像空间,然后用于查找深度帧中的深度。
- 属性