How to get the mapping between the pixels at each input image and that in the generated panorama

Asked by rui zeng

Dear Sir or Madam,

I am Rui Zeng, a PhD candidate from Queensland University of Technology. I am now working on a research project which is about panorama generating from a video. Here is my homepage

Suppose that I got 10 consecutive frames (f_1, f_2, …, f_10) that extracted from the video and then these 10 frames are sent into Hugin to generate a panorama (pano). May I ask you guys the question about how to extract homography matrix from Hugin? Assume that f_1 is an anchor frame and we use an incremental method to build the panorama. Would it be possible to extract Homography matrix H_1, H_2, .., H_9 from Hugin, where f_2 = H_1*f_1, f_3 = H_2 * f_2, …, f10 = H_9 * f_9. In other words, how can we get a mapping from the pixel (x_1, y_1) in the frame f_1 to the pixel (x_p, y_p) in the pano. The pixel (x_2, y_2) in the frame f_2 to the pixel (x_p, y_p) in the pano.

Actually I walked through this image stitching code carefully and know the rough process of image stitching. Does Hugin has some similar functions or API to output what I asked above? By the way, could anyone provide me a baseline project like image stitching code as a learning example. I searched on the Google and cannot find a proper tutorial example like

I believe aforementioned problems must be met by many researchers who work on panorama generating.

Is there anyone to do me a favor. Actually, as a student, I do not have much things to offer to givers who help me. I would like to give him an apple store card as an appreciation cause this research project is really important to me and I believe that rewarding contributors is a good way to build a good community and this is a respect to their contribution. Please feel free to contact me.

Thanks for reading.

King regards,

Rui Zeng

Question information

English Edit question
Hugin Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
tmodes (tmodes) said :

For the coordinate transformation there is pano_trafo as already answered on the mailing list.

For the image stitching workflow in Hugin a short description of some possibilities can be found here:
More details for scripting can be found in the wiki

Can you help with this problem?

Provide an answer of your own, or ask rui zeng for more information if necessary.

To post a message you must log in.