0

I read OpenCV.fisheye official manual, and I'm confused about the use of calibrate() and undistortImage() functions.

I know that both are used to fix some distortion in an image but, it looks too similar to me.

The docs I referred to are:

If you know, explain the difference between them, please share it... :)

Rahul
  • 576
  • 1
  • 5
  • 9
SY HA
  • 9
  • 3

1 Answers1

0

calibrate() returns you your camera's intrinsic parameters / distortion coefficients which then can be passed into undistortImage() to correct for the lens warping.

chris
  • 4,840
  • 5
  • 35
  • 66