資源簡介
基于sift的圖像拼接算法,使用matlab實(shí)現(xiàn)
代碼片段和文件信息
%?im?=?appendimages(image1?image2)
%
%?Return?a?new?image?that?appends?the?two?images?side-by-side.
function?im?=?appendimages(image1?image2)
%?Select?the?image?with?the?fewest?rows?and?fill?in?enough?empty?rows
%???to?make?it?the?same?height?as?the?other?image.
rows1?=?size(image11);
rows2?=?size(image21);
if?(rows1??????image1(rows21)?=?0;
else
?????image2(rows11)?=?0;
end
%?Now?append?both?images?side-by-side.
im?=?[image1?image2];???
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????103647??2011-01-16?22:50??imMosaic\a1.JPG
?????文件?????102984??2011-01-16?22:50??imMosaic\a2.JPG
?????文件????????461??2011-01-25?15:15??imMosaic\appendimages.m
?????文件????????678??2011-01-23?23:34??imMosaic\findHomography.m
?????文件???????2393??2011-05-16?20:20??imMosaic\imMosaic.m
?????文件???????1334??2011-03-24?11:57??imMosaic\license.txt
?????文件????????256??2011-03-24?23:50??imMosaic\mosaicTest.m
?????文件??????49202??2011-05-16?20:22??imMosaic\mosaic_a.jpg
?????文件??????50481??2011-01-25?15:06??imMosaic\mosaic_hall.jpg
?????文件????????418??2010-10-24?15:43??imMosaic\randIndex.m
?????文件???????1946??2011-05-16?20:21??imMosaic\ransac1.m
?????文件???????2344??2011-01-23?22:02??imMosaic\sift.m
?????文件???????2373??2011-01-25?15:12??imMosaic\siftMatch.m
?????文件??????94208??2005-07-07?21:54??imMosaic\siftWin32.exe
?????文件????????585??2011-05-16?20:21??imMosaic\solveHomo.m
?????文件?????141042??2011-05-16?20:21??imMosaic\tmp.key
?????目錄??????????0??2011-05-16?20:22??imMosaic
-----------?---------??----------?-----??----
???????????????554352????????????????????17
評論
共有 條評論