Once I get the Homography Matrix from OpenCV and Visual Studio 2010, How I use it?

174 Views Asked by At

I have calculated the Homography Matrix using OpenCV and Visual Studio. I have used the basic example of this topic. How should I apply that matrix?...

1

There are 1 best solutions below

0
On

(Sorry for my can't post a comment with limited reputation.)

Yes, @Hammer and you are right. As mentioned in wikipedia, or this one:

/w'x'\   /H11 H12 H13\ /x\
|w'y'| = |H21 H22 H23|*|y|
\w'  /   \ 0   0   1 / \1/

totally 7 parameters.

Once you've get the homography matrix H, apply the calculation to each appended vector [x,y,1]T.