Ask Your Question
1

Align oblique images to an ortho image

asked 2012-09-18 18:18:16 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

I have 5 oblique images and one ortho image, all generated from the same camera and all cover the same scene. I want to align the oblique images to the ortho image. I found good matches from each oblique image to the ortho image. I used findHomography function to find matrix H for each image. My questions are: Can I get from H the camera's position for each image relative to the camera's position in the ortho image? Do I had enough data to figure out the camera parameters?

Any leads to help me will be much appreciated!

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-09-20 04:24:44 -0600

Rui Marques gravatar image

updated 2012-09-20 04:25:11 -0600

If you use opencv's perspectiveTransform(...) with inputs:

  • Points from oblique image A.
  • matrix H from oblique image A.

It will transform those points from oblique image plane to the ortho image plane.

There is also the warpPerspective(...) that does the same but for whole images, instead of just points.

About figuring out camera parameters, maybe you mean finding the intrinsic and extrinsic matrixes? You should check this stackoverflow post: http://stackoverflow.com/q/8927771/1085483

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-09-18 18:18:16 -0600

Seen: 750 times

Last updated: Sep 20 '12