DepthCorrelatedCoordinateMapper.MapPoint 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用從一個 MediaFrameSource 建立座標組應器的DepthMediaFrame 的深度資訊,並呼叫TryCreateCoordinateMapper,將某個點對應到另一個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
相機內建,描述點所對應媒體畫面來源的投影和失真模型。
傳回
對應的點。