title: is getPerspectiveTransform broken in opencv python2 wrapper?
body: <p>Something appears to be afoul with "getPerspectiveTransform" in the python2 wrapper for opencv. For starters, it takes two arguments instead of the expected three.</p>
  
  <p>So instead of the first wrapper's:</p>
  
  <pre><code>cv.GetPerspectiveTransform(source,destination,3x3mat)
  </code></pre>
  
  <p>It's now:</p>
  
  <pre><code>cv2.getPerspectiveTransform(?,?)
  </code></pre>
  
  <p>If I try to put in two sets of four quad vert coordinates as the arguments like so:</p>
  
  <pre><code>cv2.getPerspectiveTransform(first_set_of_corners, second_set_of_corners)
  </code></pre>
  
  <p>it spits out the following error:</p>
  
  <pre><code>cv2.error: C:\slave\WinInstallerMegaPack\src\opencv\modules\imgproc\src\imgwarp.
  cpp:3194: error: (-215) src.checkVector(2, CV_32F) == 4 &amp;&amp; dst.checkVector(2, CV
  _32F) == 4
  </code></pre>
  
  <p>If the checkVectors shouldn't equal four (hence the "quad" in quadrangle) then I'm not certain what it wants from me. As with everything else in the python2 wrapper this feature is completely undocumented so I don't know if it's broken or, more likely, that I'm doing it wrong. Has anyone here managed to get this to work properly?  </p>