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
But the object point matrix and image point matrix should have different sizes . My object point matrix is a 4 X 3 matrix and image point matrix is a 4 X 2 matrix. What could be wrong? :-/