title: OpenCV-"Homogeneous coordinates are not supported" when using cvProjectPoints2
body: <p>"OpenCV Error: Bad argument (Homogeneous coordinates are not supported ) in unknown function, file ......\modules\calib3d\src\calibration.cpp, line 826"</p>
  
  <p>I think I'm getting this error when passing the following matrix into cvProjectPoints2() function</p>
  
  <pre><code>CvMat *dstPoints2D = cvCreateMat (4, 1, CV_32FC3);
  
  cvProjectPoints2(srcPoints3D,rotation,translation,intrinsic_matrix,NULL,dstPoints2D);
  </code></pre>
  
  <p>I'm using OpenCV 2.3.0</p>
  
  <p>Full code: <a href="http://pastebin.com/TYthn6Nt" rel="nofollow">http://pastebin.com/TYthn6Nt</a></p>
  
  <p>Thanks in advance.</p>