PerceptionDepthCorrelatedCoordinateMapper.MapPixelToTarget 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将像素从相机图像空间映射到深度图像空间。
public:
virtual Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame ^ depthFrame) = MapPixelToTarget;
Point MapPixelToTarget(Point const& sourcePixelCoordinate, PerceptionDepthFrame const& depthFrame);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCoordinateMapper may be unavailable after Windows Creator Update. Use Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
Point MapPixelToTarget(Point const& sourcePixelCoordinate, PerceptionDepthFrame const& depthFrame);
public Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame depthFrame);
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthCorrelatedCoordinateMapper may be unavailable after Windows Creator Update. Use Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public Point MapPixelToTarget(Point sourcePixelCoordinate, PerceptionDepthFrame depthFrame);
function mapPixelToTarget(sourcePixelCoordinate, depthFrame)
Public Function MapPixelToTarget (sourcePixelCoordinate As Point, depthFrame As PerceptionDepthFrame) As Point
参数
- sourcePixelCoordinate
- Point
相机图像空间中的像素坐标。
- depthFrame
- PerceptionDepthFrame
要将像素映射到的深度帧。
返回
返回像素坐标到深度图像空间的映射。
- 属性