Template Function mrpt::img::camera_geometry::projectPoint(const POINT&, const mrpt::img::TCamera&)

Function Documentation

template<typename POINT>
mrpt::img::TPixelCoordf mrpt::img::camera_geometry::projectPoint(const POINT &pointInCamFrame, const mrpt::img::TCamera &cameraParams)

Project a single 3D point (already in camera frame) without distortion.

Template Parameters:

POINT – Any type with .x, .y, .z members

Parameters:
  • pointInCamFrame – [IN] 3D point in camera coordinate frame

  • cameraParams – [IN] Camera intrinsic parameters

Returns:

Projected pixel coordinates