[][src]Function opencv::calib3d::fisheye_undistort_points

pub fn fisheye_undistort_points(
    distorted: &dyn ToInputArray,
    undistorted: &mut dyn ToOutputArray,
    k: &dyn ToInputArray,
    d: &dyn ToInputArray,
    r: &dyn ToInputArray,
    p: &dyn ToInputArray
) -> Result<()>

Undistorts 2D points using fisheye model

Parameters

  • distorted: Array of object points, 1xN/Nx1 2-channel (or vector<Point2f> ), where N is the number of points in the view.
  • K: Camera matrix inline formula.
  • D: Input vector of distortion coefficients inline formula.
  • R: Rectification transformation in the object space: 3x3 1-channel, or vector: 3x1/1x3 1-channel or 1x1 3-channel
  • P: New camera matrix (3x3) or new projection matrix (3x4)
  • undistorted: Output array of image points, 1xN/Nx1 2-channel, or vector<Point2f> .

C++ default parameters

  • r: noArray()
  • p: noArray()