[][src]Function opencv::calib3d::fisheye_project_points

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

Projects points using fisheye model

Parameters

  • objectPoints: Array of object points, 1xN/Nx1 3-channel (or vector<Point3f> ), where N is the number of points in the view.
  • imagePoints: Output array of image points, 2xN/Nx2 1-channel or 1xN/Nx1 2-channel, or vector<Point2f>.
  • affine:
  • K: Camera matrix inline formula.
  • D: Input vector of distortion coefficients inline formula.
  • alpha: The skew coefficient.
  • jacobian: Optional output 2Nx15 jacobian matrix of derivatives of image points with respect to components of the focal lengths, coordinates of the principal point, distortion coefficients, rotation vector, translation vector, and the skew. In the old interface different components of the jacobian are returned via different output parameters.

The function computes projections of 3D points to the image plane given intrinsic and extrinsic camera parameters. Optionally, the function computes Jacobians - matrices of partial derivatives of image points coordinates (as functions of all the input parameters) with respect to the particular parameters, intrinsic and/or extrinsic.

Overloaded parameters

C++ default parameters

  • alpha: 0
  • jacobian: noArray()