Finding the distortion coefficient and camera matrix : cvCalibrateCamera 2 error!

asked 2013-06-13 00:29:13 -0600

newbie111 gravatar image

updated 2013-06-13 02:13:47 -0600

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?

edit retag flag offensive close merge delete