共用方式為


DepthCorrelatedCoordinateMapper.MapPoints 方法

定義

使用從一個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[]

陣列對應點。

適用於