cvUndistort2 () and cvRemap () crash
问题 I was doing example 11-1 of "Learning OpenCV" by Bradski. Unfortunately the given example doesn't work on my computer. The program is supposed to calibrate camera using chessboard and then output undistorted video output from the camera. The calibration part works fine, the problem arises when the program tries to undistort the image. I tried both cvUndistort2() and cvRemap(), in both cases the output windows freeze and the the program crashes, so that I have to force close it. Here is the