資源簡(jiǎn)介
matlab模板匹配算法% The function takes two images as argument and using edge detection % checks whether they are the same or not...a cool and simple code which % can be used in security systems. % The level at which the two pictures should be matched can be controlled % by changing the code at line 100.
代碼片段和文件信息
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%?Function?Developed?by?Fahd?A.?Abbasi.
%?Department?of?Electrical?and?Electronics?Engineering?University?of
%?Engineering?and?Technology?Taxila?PAKISTAN.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%?The?function?takes?two?images?as?argument?and?using?edge?detection
%?checks?whether?they?are?the?same?or?not...a?cool?and?simple?code?which
%?can?be?used?in?security?systems.
%?The?level?at?which?the?two?pictures?should?be?matched?can?be?controlled
%?by?changing?the?code?at?line?100.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%?USAGE?(SAMPLE?CODE)
%
%
%???????pic1?=?imread(‘cameraman.tif‘);
%???????pic2?=?imread(‘cameraman.tif‘);
%???????ait_picmatch(pic1pic2);
%???????
%???????
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%???
function?ait_picmatch(pic1pic2)
[x
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????2964??2004-07-12?02:17??ait_picmatch\ait_picmatch.m
評(píng)論
共有 條評(píng)論