DepthCorrelatedCoordinateMapper.MapPoints 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用通过调用 TryCreateCoordinateMapper 创建坐标映射器的 DepthMediaFrame 中的深度信息,将一组点从一个 MediaFrameSource 映射到另一个 MediaFrameSource。
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[]
数组映射点。