資源簡介
提供了多中塊匹配算法的matalb程序,供交流學習

代碼片段和文件信息
%?Computes?the?Mean?Absolute?Difference?(MAD)?for?the?given?two?blocks
%?Input
%???????currentBlk?:?The?block?for?which?we?are?finding?the?MAD
%???????refBlk?:?the?block?w.r.t.?which?the?MAD?is?being?computed
%???????n?:?the?side?of?the?two?square?blocks
%
%?Output
%???????cost?:?The?MAD?for?the?two?blocks
%
%?Written?by?Aroh?Barjatya
function?cost?=?costFuncMAD(currentBlkrefBlk?n)
err?=?0;
for?i?=?1:n
????for?j?=?1:n
????????err?=?err?+?abs((currentBlk(ij)?-?refBlk(ij)));
????end
end
cost?=?err?/?(n*n);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2009-05-21?10:08??BlockMatchingAlgoMPEG\
?????文件??????122444??2005-10-20?16:51??BlockMatchingAlgoMPEG\BlockMatchingAlgorithmsForMotionEstimation.PDF
?????文件?????????519??2004-04-26?01:46??BlockMatchingAlgoMPEG\costFuncMAD.m
?????文件?????????487??2004-04-26?01:49??BlockMatchingAlgoMPEG\imgPSNR.m
?????文件?????????700??2004-04-15?02:25??BlockMatchingAlgoMPEG\minCost.m
?????文件????????1094??2004-04-10?18:09??BlockMatchingAlgoMPEG\motionComp.m
?????文件????????6474??2004-04-26?02:01??BlockMatchingAlgoMPEG\motionEst4SS.m
?????文件????????3152??2004-04-26?01:26??BlockMatchingAlgoMPEG\motionEstAnalysis.m
?????文件????????6257??2004-04-26?02:00??BlockMatchingAlgoMPEG\motionEstARPS.m
?????文件???????19496??2004-04-26?02:04??BlockMatchingAlgoMPEG\motionEstDS.m
?????文件????????2510??2004-04-26?02:07??BlockMatchingAlgoMPEG\motionEstES.m
?????文件???????10253??2004-04-26?02:08??BlockMatchingAlgoMPEG\motionEstNTSS.m
?????文件???????12157??2004-04-26?02:10??BlockMatchingAlgoMPEG\motionEstSESTSS.m
?????文件????????4651??2004-04-26?02:11??BlockMatchingAlgoMPEG\motionEstTSS.m
?????文件?????????922??2005-10-20?17:02??BlockMatchingAlgoMPEG\README.txt
?????文件????????1334??2009-05-21?10:08??license.txt
- 上一篇:MOSFET structure
- 下一篇:13種pso粒子群優化算法代碼合集
評論
共有 條評論