OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Fri, 04 Aug 2017 01:19:03 -0500Algorithm behind findHomography() and the kind of homography returned by ithttp://answers.opencv.org/question/170601/algorithm-behind-findhomography-and-the-kind-of-homography-returned-by-it/Hi folks!
I am dealing with the estimation and decomposition of homographies for a couple of days now and the very moment I think I got it I stumble upon new and even more mind-boggling questions. What I would like to understand is how a homography can be decomposed into parameters R and t how to estimate the camera path with the aforementioned parameters. I am well aware of the plethora of different algorithms to do that but I have a few questions that I could not answer after hours of googling and literature research.
As far as I know homographies are transformations which transform one set of points from one image plane to another and that they are the most general kind of transformation containing rotation, translation and non-linear scaling parameters. Today I read that there are two kinds of homographies: projective and euclidean homographies. From what I've read thus far, Euclidean homographies directly express the reconstruction of the relative motion between the views and the normal of the plane.
- Is that correct?
- Is it save to assume that a Euclidean homography can be thought of as a "real world" homography which describes my rotation and translation from one camera position to the next?
- Are there any other important differences between projective and Euclidean homographies?
- Which algorithm is used in findHomography() in OpenCV 2.4.13?
- Does findHomography() in OpenCV 2.4.13 return a projective or euclidean homography?
- When do I need a projective or a euclidean homography?
Your help is deeply appreciated!!!
Thank you
Conundraah
Wed, 02 Aug 2017 09:23:45 -0500http://answers.opencv.org/question/170601/algorithm-behind-findhomography-and-the-kind-of-homography-returned-by-it/Comment by Eduardo for <p>Hi folks!</p>
<p>I am dealing with the estimation and decomposition of homographies for a couple of days now and the very moment I think I got it I stumble upon new and even more mind-boggling questions. What I would like to understand is how a homography can be decomposed into parameters R and t how to estimate the camera path with the aforementioned parameters. I am well aware of the plethora of different algorithms to do that but I have a few questions that I could not answer after hours of googling and literature research.</p>
<p>As far as I know homographies are transformations which transform one set of points from one image plane to another and that they are the most general kind of transformation containing rotation, translation and non-linear scaling parameters. Today I read that there are two kinds of homographies: projective and euclidean homographies. From what I've read thus far, Euclidean homographies directly express the reconstruction of the relative motion between the views and the normal of the plane. </p>
<ul>
<li>Is that correct?</li>
<li>Is it save to assume that a Euclidean homography can be thought of as a "real world" homography which describes my rotation and translation from one camera position to the next? </li>
<li>Are there any other important differences between projective and Euclidean homographies?</li>
<li>Which algorithm is used in findHomography() in OpenCV 2.4.13?</li>
<li>Does findHomography() in OpenCV 2.4.13 return a projective or euclidean homography?</li>
<li>When do I need a projective or a euclidean homography?</li>
</ul>
<p>Your help is deeply appreciated!!!</p>
<p>Thank you</p>
<p>Conundraah</p>
http://answers.opencv.org/question/170601/algorithm-behind-findhomography-and-the-kind-of-homography-returned-by-it/?comment=170608#post-id-170608I think what you are looking for is described in this [paper](https://hal.inria.fr/inria-00174036v3/document) (p 10/94). In my opinion, "Euclidean homography" deals with transformation in the normalized camera frame (z=1) whereas "projective homography" deals with transformation in the image plane using the intrinsic parameters.
Anyway, the answer is probably in the linked paper (Deeper understanding of the homography decomposition for vision-based control) or in the literature at the end.Wed, 02 Aug 2017 10:07:56 -0500http://answers.opencv.org/question/170601/algorithm-behind-findhomography-and-the-kind-of-homography-returned-by-it/?comment=170608#post-id-170608Comment by Conundraah for <p>Hi folks!</p>
<p>I am dealing with the estimation and decomposition of homographies for a couple of days now and the very moment I think I got it I stumble upon new and even more mind-boggling questions. What I would like to understand is how a homography can be decomposed into parameters R and t how to estimate the camera path with the aforementioned parameters. I am well aware of the plethora of different algorithms to do that but I have a few questions that I could not answer after hours of googling and literature research.</p>
<p>As far as I know homographies are transformations which transform one set of points from one image plane to another and that they are the most general kind of transformation containing rotation, translation and non-linear scaling parameters. Today I read that there are two kinds of homographies: projective and euclidean homographies. From what I've read thus far, Euclidean homographies directly express the reconstruction of the relative motion between the views and the normal of the plane. </p>
<ul>
<li>Is that correct?</li>
<li>Is it save to assume that a Euclidean homography can be thought of as a "real world" homography which describes my rotation and translation from one camera position to the next? </li>
<li>Are there any other important differences between projective and Euclidean homographies?</li>
<li>Which algorithm is used in findHomography() in OpenCV 2.4.13?</li>
<li>Does findHomography() in OpenCV 2.4.13 return a projective or euclidean homography?</li>
<li>When do I need a projective or a euclidean homography?</li>
</ul>
<p>Your help is deeply appreciated!!!</p>
<p>Thank you</p>
<p>Conundraah</p>
http://answers.opencv.org/question/170601/algorithm-behind-findhomography-and-the-kind-of-homography-returned-by-it/?comment=170889#post-id-170889Hi Eduardo,
thank you for your answer. I already know the paper you mentioned and read it again and in addition the referenced literature. Unfortunately it didn't help me answering my questions. :-(
Best regards
ConundraahFri, 04 Aug 2017 01:19:03 -0500http://answers.opencv.org/question/170601/algorithm-behind-findhomography-and-the-kind-of-homography-returned-by-it/?comment=170889#post-id-170889