Unwarp images of planar object

asked 2016-02-22 03:16:01 -0500

jakir gravatar image

updated 2016-02-22 03:35:06 -0500

I have two images viewing the same planar object. I can compute a homography (findHomography) or the fundamental matrix (findFundamentalMatrix). I can warp one image to the other or vice versa (using the inverse homography). This all works fine.

What I want to do is to rectify each image (not warp one to the other), based on the given information. For example like the house facade here:

""

Source http://users.cecs.anu.edu.au/~hartley... , page 6

The problem is that I don't have any information about point positions on the plane - only a lot of correspondences between two images of an object known to be planar. Can this be done from just the homography between the two images?

edit retag flag offensive close merge delete

Comments

Yes I think so. In your example page 6 I think hypothesis is " all windows are rectangle". you can match a window corner with a rectangle and find so homography.

LBerger gravatar imageLBerger ( 2016-02-22 03:39:08 -0500 )edit

Thanks - the house facade is just an example. For this specific example I think I would need to know the aspect ratio of the (physical) window rectangle for it to work.

jakir gravatar imagejakir ( 2016-02-22 03:57:31 -0500 )edit