Finding the distortion coefficient and camera matrix : cvCalibrateCamera 2 error!
Hi,
I was trying to find out the camera matrix and distortion coefficients using cvCalibrateCamera2. There were no compilation errors, but when I am trying to execute the program it gives :
OpenCV error: Sizes of input arguments do not match( both matrices must have the same number of points) in cvConvertPointsHomogenous, file /build/buildd/opencv-2.3.1/modules/calib3d/src/fundam.cpp
size of the matrix storing object points in 4 x 3 and that of the matrix storing image points in 4 X2 , what could be wrong?