DepthCorrelatedCoordinateMapper.MapPoints 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用從一個MediaFrameSource呼叫TryCreateCoordinateMapper建立座標組應器的DepthMediaFrame 的深度資訊,將點陣列對應到另一個。
public:
virtual void MapPoints(Platform::Array <Point> ^ sourcePoints, SpatialCoordinateSystem ^ targetCoordinateSystem, CameraIntrinsics ^ targetCameraIntrinsics, Platform::Array <Point> ^ results) = MapPoints;
void MapPoints(winrt::array_view <Point> const& sourcePoints, SpatialCoordinateSystem const& targetCoordinateSystem, CameraIntrinsics const& targetCameraIntrinsics, winrt::array_view <Point> & results);
public void MapPoints(Point[] sourcePoints, SpatialCoordinateSystem targetCoordinateSystem, CameraIntrinsics targetCameraIntrinsics, Point[] results);
function mapPoints(sourcePoints, targetCoordinateSystem, targetCameraIntrinsics, results)
Public Sub MapPoints (sourcePoints As Point(), targetCoordinateSystem As SpatialCoordinateSystem, targetCameraIntrinsics As CameraIntrinsics, results As Point())
參數
- sourcePoints
- Point[]
要對應至不同媒體畫面來源之座標系統的來源點陣列,這會在 targetCoordinateSystem 參數中指定。
- targetCoordinateSystem
- SpatialCoordinateSystem
要對應點的目標媒體畫面來源座標系統。
- targetCameraIntrinsics
- CameraIntrinsics
相機內建,描述點所對應媒體畫面來源的投影和失真模型。
- results
- Point[]
陣列對應點。