DepthCorrelatedCoordinateMapper.MapPoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.