Dela via


DepthCorrelatedCoordinateMapper.MapPoint Method

Definition

Maps a point from one MediaFrameSource to another, using depth information from the DepthMediaFrame from which the coordinate mapper was created with a call to TryCreateCoordinateMapper.

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

Parameters

sourcePoint
Point

The source point to be mapped to the coordinate system of a different media frame source, which is specified in the targetCoordinateSystem parameter.

targetCoordinateSystem
SpatialCoordinateSystem

The coordinate system of the target media frame source to which the point is mapped.

targetCameraIntrinsics
CameraIntrinsics

The camera intrinsics describing the projection and distortion models of the media frame source to which the point is mapped.

Returns

A mapped point.

Applies to