[][src]Function opencv::ccalib::project_points

pub fn project_points(
    object_points: &dyn ToInputArray,
    image_points: &mut dyn ToOutputArray,
    rvec: &dyn ToInputArray,
    tvec: &dyn ToInputArray,
    k: &dyn ToInputArray,
    xi: f64,
    d: &dyn ToInputArray,
    jacobian: &mut dyn ToOutputArray
) -> Result<()>

Projects points for omnidirectional camera using CMei's model

Parameters

  • objectPoints: Object points in world coordinate, vector of vector of Vec3f or Mat of 1xN/Nx1 3-channel of type CV_32F and N is the number of points. 64F is also acceptable.
  • imagePoints: Output array of image points, vector of vector of Vec2f or 1xN/Nx1 2-channel of type CV_32F. 64F is also acceptable.
  • rvec: vector of rotation between world coordinate and camera coordinate, i.e., om
  • tvec: vector of translation between pattern coordinate and camera coordinate
  • K: Camera matrix inline formula.
  • D: Input vector of distortion coefficients inline formula.
  • xi: The parameter xi for CMei's model
  • jacobian: Optional output 2Nx16 of type CV_64F jacobian matrix, contains the derivatives of image pixel points wrt parameters including inline formula. This matrix will be used in calibration by optimization.

The function projects object 3D points of world coordinate to image pixels, parameter by intrinsic and extrinsic parameters. Also, it optionally compute a by-product: the jacobian matrix containing contains the derivatives of image pixel points wrt intrinsic and extrinsic parameters.

C++ default parameters

  • jacobian: noArray()