OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Thu, 01 Aug 2013 08:24:59 -0500pose estimation from 2d-to-2d correspondenceshttp://answers.opencv.org/question/16571/pose-estimation-from-2d-to-2d-correspondences/For explanation, assume that we have two image (image 1 and image 2) and camera intrinsic matrix **K**. We can get the correspondence between two image by local feature matching. What I want to get is 6DOF pose from image 1 to image 2.
To get pose, I got fundamental matrix F from 2D-to-2D correspondence. Then, I calculated essential matrix **E** from **F** and **K**. After decomposing **E**, finally I made projection Matrix **P**.
I would like to transform Rectangle ROI in image 1 to ROI in image 2. I set depth of ROI in image 1 to zero. (0, 0, 0), (w, 0, 0), (w, h, 0), (0, h, 0) Then, to get ROI in image2, I used project matrix **P**. But ROI is strange.
Is there anyone to give some guideline? Thu, 11 Jul 2013 09:45:24 -0500http://answers.opencv.org/question/16571/pose-estimation-from-2d-to-2d-correspondences/Comment by Guido for <p>For explanation, assume that we have two image (image 1 and image 2) and camera intrinsic matrix <strong>K</strong>. We can get the correspondence between two image by local feature matching. What I want to get is 6DOF pose from image 1 to image 2. </p>
<p>To get pose, I got fundamental matrix F from 2D-to-2D correspondence. Then, I calculated essential matrix <strong>E</strong> from <strong>F</strong> and <strong>K</strong>. After decomposing <strong>E</strong>, finally I made projection Matrix <strong>P</strong>.
I would like to transform Rectangle ROI in image 1 to ROI in image 2. I set depth of ROI in image 1 to zero. (0, 0, 0), (w, 0, 0), (w, h, 0), (0, h, 0) Then, to get ROI in image2, I used project matrix <strong>P</strong>. But ROI is strange.
Is there anyone to give some guideline? </p>
http://answers.opencv.org/question/16571/pose-estimation-from-2d-to-2d-correspondences/?comment=18014#post-id-18014What do you mean by "strange" ?Thu, 01 Aug 2013 08:24:59 -0500http://answers.opencv.org/question/16571/pose-estimation-from-2d-to-2d-correspondences/?comment=18014#post-id-18014