panorama

Image alignment and stitching with MATLAB

Yihui He
yihui-he.github.io
twitter@he_yi_hui
YouTube
GitHub (2k followers)
知乎@何宜晖 (8k 关注)

panorama

img
img
img

features

how to run

Prerequisite: matlab 2014b or higher
images sets are already in ./imgs

######details of my algorithms are shown below:

360 panorama

recognize panorama(random inputs)

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 $N_inlier>k*N_pairs+b$ to compute whether a pair of images match or not
k,b are const. Set to 5.9 and 0.22 respectively.
See recognizing panorama for details

imorder.m

merging and blending

merge.m

transformation

computeTrans.m

matching

RANSAC.m

global adjustment

create.m

getting features

getSIFTFeatures.m, getMatches.m

resize

main.m

References

A nice tutorial on panorama I find useful.