In this lab we will look at the role and use of calibrated cameras for simple photomosaicing. We assume throughout that you will be using your camera phone for all the imaging associated with this homework.
- Go through the Matlab example on feature based panoramic image stitching. We will use this as a template for our work
- Camera Calibration. Take a look at the Caltech Camera Calibration toolbox. Print out a calibration pattern and stick it firmly to a really flat object. Now take pictures of the calibration object from different angles while making sure that the calibration object fills most of the image. Use the example that is provided to figure out how to calibrate your phone camera. Try and make sure that the reprojection error after calibration is reasonable.
- Now go out on Forsyth street and take multiple, overlapping images of the mural on the Latino Students Center building. You should have at least five or six images.
- Play with the harris feature detector file provided with his homework (note you also need the convolve2.m file – also provided) to get features well distributed across the image.
- Use the Matlab example code to figure out how to make a panoramic mosaic of the entire building but make sure you use the harris detector that has been provided as opposed to the feature detector the Matlab example uses.
- Now repeat the mosaicing exercise with images of a cinder block wall just like the example shown in class (again use 5-6 images that overlap by about 50%).
- Collect one last set of images (of any other piece of graffiti art anywhere on campus) where the overlap is considerably smaller (say 15%). Does your mosaicing algorithm still work? What changes if any did you have to make.
Lab 5 Writeup – What we are expecting to see
Part 1. Nothing required.
Part 2. Camera Calibration. Show us the images you took for camera calibration and the resultant reprojection pixel error (as shown in the plot in the Camera Calibration Toolbox). Also output your calibration parameters and a single image before and after calibration.
Part 3. Data Collection: Show us the images you are going to use for your mosaic
Part 4. Show us the distribution of Harris Corners across a single (or more) representative set of images.
Part 5. Show us the final mosaic and any intermediate image steps that you deem reasonable while following along with the Matlab code.
Also all .m files you used for the lab.
Part 6. Show us how the code fails(?) in the cinder block imagery and write a couple of sentences explaining why it does so.
Part 7. Show us your initial images and the final mosaic and anything else you deem necessary to explain your results.
Please check everything (report, m files) into a folder (called Lab5) in your gitlab directory.