資源簡介
本程序將SIFT與邊緣結合起來用來做圖像配準 先用SIFT檢測關鍵點 用CANNY算子進行邊緣檢測 進而優化選取最佳匹配點 進行向量匹配 圖像配準。
代碼片段和文件信息
%-------------------------------------------------------------------------
%?image?mosaicing?demo?program
%?intro:?this?is?a?very?simple?demo?program?to?join?two?images?together
%????????corners?are?pre-matched?to?be?saved?into?cornerpairs.mat
%?developed?by?bugzhao?for?evaluation?use?only?April?2005?bugzhao@sohu.com
%-------------------------------------------------------------------------
function?imagesmosaicdemo()
%?read?base?image?and?the?second?image?to?be?registered?to?the?base?image
close?all;
unregistered?=?imread(‘2.jpg‘);
baseimage=imread(‘1.jpg‘);
figureimshow(baseimage);
figureimshow(unregistered);
%?manually?select?point?matches?or?automatically?done?by?harris?corner?detector?and?CC?matching
load?cornerpairs.mat;
t_concord?=?cp2tform(corners2corners1‘proje
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1384??2005-04-09?16:26??SIFT_EDGE_test.m
-----------?---------??----------?-----??----
?????????????????1602????????????????????2
評論
共有 條評論