Strict Standards: Non-static method WPU_Cache::getInstance() should not be called statically in /home/autronix/public_html/sites/osdevforums.com/forums/wp-united/integrator.php on line 71

Strict Standards: Only variables should be passed by reference in /home/autronix/public_html/sites/osdevforums.com/forums/wp-united/cache.php on line 330
OS Dev Forums • View topic - cvWarpPerspective homography birdview display problem

OS Dev Forums Open Source Developer's Forums

Page 1 of 1

cvWarpPerspective homography birdview display problem

PostPosted: 08 Apr 2010 17:11
by jamil
Hello,

I've been applying the example provided by the book "Learning OpenCV" and made code based on the downloadable example for 12.1.

I am able to generate the homography and display the result on a window by using cvWarpPerspective; however, I seem to be unable to get the resulting image to fit properly in the window (like they did in the picture of the example on page 412, Figure 12.2).

I'm not quite sure how to obtain this result given that whenever I play with the Z (as specified by the program using 'u' and 'd' keys) the image remains on the left of the window.

Any help with this would be greatly appreciated.

Thank you.