title: Need help in understanding error for cv2.undistortPoints()
body: <p>I am trying to triangulate points from a projector and a camera using Structured Light in OpenCV Python. In this process I have a list of tuples that match one to one between the camera and the projector. I am passing this to cv2.undistortedPoints() as below:</p>
  
  <p><code>camera_normalizedPoints = cv2.undistortPoints(camera_points, camera_K, camera_d)</code></p>
  
  <p>However, python is throwing the following error and I am unable to understand what the error means. </p>
  
  <p><code>camera_normalizedPoints = cv2.undistortPoints(camera_points, camera_K, camera_d)
  cv2.error: /home/base/opencv_build/opencv/modules/imgproc/src/undistort.cpp:312: error: (-215) CV_IS_MAT(_src) &amp;&amp; CV_IS_MAT(_dst) &amp;&amp; (_src-&gt;rows == 1 || _src-&gt;cols == 1) &amp;&amp; (_dst-&gt;rows == 1 || _dst-&gt;cols == 1) &amp;&amp; _src-&gt;cols + _src-&gt;rows - 1 == _dst-&gt;rows + _dst-&gt;cols - 1 &amp;&amp; (CV_MAT_TYPE(_src-&gt;type) == CV_32FC2 || CV_MAT_TYPE(_src-&gt;type) == CV_64FC2) &amp;&amp; (CV_MAT_TYPE(_dst-&gt;type) == CV_32FC2 || CV_MAT_TYPE(_dst-&gt;type) == CV_64FC2) in function cvUndistortPoints</code></p>
  
  <p>Any help is greatly appreciated.</p>
  
  <p>Thanks.</p>