資源簡介
該資源包含了一個多個運動估計的塊匹配算法,它實現(xiàn)和比較了7種不同類型的塊匹配算法,從最基本的窮舉搜索到最近的快速自適應(yīng)算法,如自適應(yīng)搜索模式搜索,具體包括了全搜索ES、三步搜索法TSS、新三步搜索法NTSS、四步搜索法4SS、SESTSS、DS、ARPS等算法,各算法都有一個對應(yīng)的m文件,實測可用,注釋詳盡。還包括了一個BlockMatchingAlgorithmsForMotionEstimation.pdf文件,回顧了視頻壓縮中用于運動估計的塊匹配算法,并簡要介紹了視頻壓縮的整個流程。
使用前請先閱讀README.txt,內(nèi)附測試圖片以及視頻的鏈接。
代碼片段和文件信息
%?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);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????122444??2014-02-12?13:44??BlockMatchingAlgoMPEG\BlockMatchingAlgorithmsForMotionEstimation.PDF
?????文件????????519??2014-02-12?13:44??BlockMatchingAlgoMPEG\costFuncMAD.m
?????文件????????487??2014-02-12?13:44??BlockMatchingAlgoMPEG\imgPSNR.m
?????文件????????700??2014-02-12?13:44??BlockMatchingAlgoMPEG\minCost.m
?????文件???????1094??2014-02-12?13:44??BlockMatchingAlgoMPEG\motionComp.m
?????文件???????6474??2014-02-12?13:44??BlockMatchingAlgoMPEG\motionEst4SS.m
?????文件???????3152??2014-02-12?13:44??BlockMatchingAlgoMPEG\motionEstAnalysis.m
?????文件???????6257??2014-02-12?13:44??BlockMatchingAlgoMPEG\motionEstARPS.m
?????文件??????19496??2014-02-12?13:44??BlockMatchingAlgoMPEG\motionEstDS.m
?????文件???????2510??2014-02-12?13:44??BlockMatchingAlgoMPEG\motionEstES.m
?????文件??????10253??2014-02-12?13:44??BlockMatchingAlgoMPEG\motionEstNTSS.m
?????文件??????12157??2014-02-12?13:44??BlockMatchingAlgoMPEG\motionEstSESTSS.m
?????文件???????4651??2014-02-12?13:44??BlockMatchingAlgoMPEG\motionEstTSS.m
?????文件???????1577??2014-02-12?13:44??BlockMatchingAlgoMPEG\README.txt
?????目錄??????????0??2017-12-06?23:08??BlockMatchingAlgoMPEG
-----------?---------??----------?-----??----
???????????????191771????????????????????15
- 上一篇:基本狼群算法程序Matlab
- 下一篇:模擬平凸透鏡的光線追跡
評論
共有 條評論