DepthCorrelatedCoordinateMapper.MapPoint 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用通过调用 TryCreateCoordinateMapper 创建坐标映射器的 DepthMediaFrame 中的深度信息,将一个 MediaFrameSource 中的点映射到另一个 MediaFrameSource。
public:
virtual Point MapPoint(Point sourcePoint, SpatialCoordinateSystem ^ targetCoordinateSystem, CameraIntrinsics ^ targetCameraIntrinsics) = MapPoint;
Point MapPoint(Point const& sourcePoint, SpatialCoordinateSystem const& targetCoordinateSystem, CameraIntrinsics const& targetCameraIntrinsics);
public Point MapPoint(Point sourcePoint, SpatialCoordinateSystem targetCoordinateSystem, CameraIntrinsics targetCameraIntrinsics);
function mapPoint(sourcePoint, targetCoordinateSystem, targetCameraIntrinsics)
Public Function MapPoint (sourcePoint As Point, targetCoordinateSystem As SpatialCoordinateSystem, targetCameraIntrinsics As CameraIntrinsics) As Point
参数
- sourcePoint
- Point
要映射到不同媒体帧源的坐标系的源点,在 targetCoordinateSystem 参数中指定。
- targetCoordinateSystem
- SpatialCoordinateSystem
点映射到的目标媒体帧源的坐标系。
- targetCameraIntrinsics
- CameraIntrinsics
相机内部描述点映射到的媒体帧源的投影和失真模型。
返回
映射点。