資源簡介
基于塊匹配的穩像算法,包括演示視頻,非常全面,希望對大家有幫助
代碼片段和文件信息
function?[mvf]?=?EMBA(R?accuracySfNf)
%?anchor?frame?:?an_f;???target?frame?:?ta_f;
%?predict?frame?:?prd_f;
%?motion?vector?MV?mvx?mvy;
%?image?size?MxM;?block?size?NxN;?search?range?R;
%?accuracy:?integer?pel:1?;?half?pel:2
%?estimate?the?motion?vector?by?using?integer?pel?EBMA?
%%?Get?YUV(352?288?4:2:0)?frame?0?1?Y?component?
?N?=?16;%16x16窗口大小
?mov=aviread(‘building2_small‘Sf:1:Sf+Nf);%用于shaky?proof
?%mov=aviread(‘counter_gravity‘Sf:1:Sf+Nf);
?len=size(mov(1).cdata1);
?w=size(mov(1).cdata2);
?mvxf=zeros(len/Nw/NNf-1);
?mvyf=zeros(len/Nw/NNf-1);
?for?index=1:Nf-1
?????ta_f=mov(index).cdata;
?????ta_f=ta_f(::1);
?????an_f=mov(index+1).cdata;
?????an_f=an_f(::1);
%%
%?setting?parameters
N?=?16;
[len?w]?=?size(an_f);
if?(nargin?1)?R?=?N-1;?end;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????456704??2011-05-24?16:17??穩像代碼\132orig-1.avi
?????文件?????121344??2011-05-24?16:24??穩像代碼\132orig.avi
?????文件?????495104??2011-05-24?16:17??穩像代碼\132proof-1.avi
?????文件?????119296??2011-05-24?16:24??穩像代碼\132proof.avi
?????文件????9466340??2011-05-24?15:31??穩像代碼\building2_small.AVI
?????文件????3188384??2011-05-23?14:44??穩像代碼\building2_small_old.avi
?????文件??139495346??2011-05-24?16:06??穩像代碼\counter_gravity.AVI
?????文件????1500872??2010-05-25?21:55??穩像代碼\counter_gravity_old.avi
?????文件??139495346??2011-05-24?14:57??穩像代碼\counter_gravity_old1.AVI
?????文件???????3047??2011-05-24?16:21??穩像代碼\EMBA.m
?????文件???????1036??2010-06-06?16:02??穩像代碼\hist2d.m
?????文件????????166??2010-06-06?16:05??穩像代碼\introduction.txt
?????文件??????50003??2010-05-27?20:51??穩像代碼\mvf132+46fr7.mat
?????文件??????67142??2010-05-27?21:46??穩像代碼\mvf132+46fr7mad.mat
?????文件??????49647??2010-05-27?21:08??穩像代碼\mvf65+46fr7.mat
?????文件??????68260??2010-05-27?21:26??穩像代碼\mvf65+46fr7mad.mat
?????文件???????2046??2011-05-24?16:23??穩像代碼\shakeproof.m
?????文件???????1130??2010-05-27?20:49??穩像代碼\splitmv.m
?????目錄??????????0??2011-07-11?14:47??穩像代碼
-----------?---------??----------?-----??----
????????????294581213????????????????????19
評論
共有 條評論