distortPoints static method
      
Mat
distortPoints(
    
- InputArray undistorted,
- InputArray K,
- InputArray D, {
- InputOutputArray? Kundistorted,
- OutputArray? distorted,
- double alpha = 0,
Distorts 2D points using fisheye model.
Implementation
static Mat distortPoints(
  InputArray undistorted,
  InputArray K,
  InputArray D, {
  InputOutputArray? Kundistorted,
  OutputArray? distorted,
  double alpha = 0,
}) {
  distorted ??= Mat.empty();
  cvRun(
    () => Kundistorted == null
        ? ccalib3d.cv_fisheye_distortPoints(
            undistorted.ref,
            distorted!.ref,
            K.ref,
            D.ref,
            alpha,
            ffi.nullptr,
          )
        : ccalib3d.cv_fisheye_distortPoints_1(
            undistorted.ref,
            distorted!.ref,
            Kundistorted.ref,
            K.ref,
            D.ref,
            alpha,
            ffi.nullptr,
          ),
  );
  return distorted;
}