GitHub - yihui-he/panorama: Image alignment and stitching with MATLAB
- able to handle 360 panorama.
- Random sequence of images input is welcomed.
- use color blending and smoothing to make the image more continuous.
Prerequisite: matlab 2014b or higher
images sets are already in ./imgs
- If you want to see results directly, go to ./results folder
- If you want to test all images sets with only one click,run RunAllDatasets.m.(10 image sets, about 1 minute)
- If you want to specify the image folder, run main.m with path to images folder as argument as follow:
main('./imgs/redrock');
Note that, this currently support image sets inimgs
folder. If you use your own image set, you need to set focus length and other parameters inmain.m
.
- mapping image to cylindrical coordinatewarp.m
I select two random sequence images set:family_house, and west_campus1
They are already shuffled. You can see them in imgs folder.
Or you can run shuffle.bash to shuffle them again.
As described in Brown’s paper, I use
imorder.m
- Alpha
- Pyramid
- Noblend
merge.m
- homography transformation.
- translation transformation.( This is more robust)
computeTrans.m
- RANSAC
- exposure matching
RANSAC.m
- end to end adjustment(comput shift and subtract shift/n to each image)
- bundle adjustment(difficult way)
create.m
- use SIFT features(using VLFeat library, professor allowed)
- SURF features, (SIFT is better)
getSIFTFeatures.m, getMatches.m
- I resize image larger than 400 pixel in width
main.m
A nice tutorial on panorama I find useful.