title: ReprojectImageTo3D corresponding pixel in image (Stereo Vision)
body: <p>I have a disparity map.</p>
  
  <p>Based on the disparity map, hovering on the 'left image' displays:</p>
  
  <p><code>X</code> and <code>y</code> of the image, So if i hover on the top-left most, it will display <code>x:0, y:0</code></p>
  
  <p>The next step is to display distance of the specific pixel,to make my life easy, I will try to do it with <code>reprojectImageTo3D(disp, Q)</code></p>
  
  <p>I got <code>Q</code> from <code>stereoRectify</code></p>
  
  <p>now, <code>reprojectImageTo3D</code> in python, returns an <code>n by 3</code> matrix.</p>
  
  <p>So I can see, it is a row of <code>x y z</code> coordinates. Wondering, how can I know which pixel are these coordinates correspond to?</p>
  
  <p>This is a sample of the 3D points that I saved using numpy.savetxt</p>
  
  <p><a href="http://pastebin.com/wwDCYwjA" rel="nofollow noreferrer">http://pastebin.com/wwDCYwjA</a></p>
  
  <p>BTW: I'm doing everything in python, but GUI in Java, I don't have time to study GUI in python. </p>