I am trying to write up an automatic 360° panorama stitching program for my final project, in order to do so, I need to accomplish four steps:

  1. Find the horizontal and vertical field of view for a camera, and use that camera to take pictures. Later these pictures will be stitched together to make a 360° panorama.

  2. Using FOV to find the cylindrical projection from image coordinate to cylindrical coordinate.

  3. Using feature detection to find features and then using the feature coordinates to find the translational relationship between every two pictures.

  4. Composite the images using the translation.

Right now I am trying to bypass the first step, which is just calibration work. I want to focus on the math and start with images with known field of view and can be successfully turned into a panorama. Where can I find those pictures? There are so many panoramas online, but nobody is displaying the intermediate picture and their camera calibration.

  • 2
    As homework, I'll suggest that you do the first step too. If you are expected to know how to calculate cylindrical coordinates from FOV, it's trivial: Wikipedia has an angle of view table and a formula. Apart from that you need a camera, to look up the specifications for the sensor dimensions and to take a few shots. I expect it will be simpler than to find the pictures you are asking for - most photographers don't publish all their intermediate steps, especially not at the level of "what was the field of view". – j-g-faustus Dec 17 '12 at 22:57

Few people publish the information you want for step 1 as many pano's will have been shot 'by eye' using visual cues to provide an overlap. The only exceptions might be where a motorised tripod head was used in the capture, but even then it probably would have been calculated and then discarded.

As for the rest of your project, you should take a look at the open source Panorama Tools library. That will have all the functions you're trying to write in it already. I've not used it directly, but it underpins the popular Hugin photo stitching program so it's had plenty of developer exposure.

Not the answer you're looking for? Browse other questions tagged or ask your own question.