?? bframeproc.m
字號:
function [B ,motionVect, flag] = bFrameProc(B,I,P,array,mbSize,p)
%flag=0;
%calculating MV and Zero Matrixes from I
[motionVect1, zeroMatrixCount1]=BmotionEstARPS(B,I,mbSize,p);
%calculating MV and Zero Matrixes from P
[motionVect2, zeroMatrixCount2]=BmotionEstARPS(B,P,mbSize,p);
%chosing btw B2's
if zeroMatrixCount1 <= zeroMatrixCount2
flag=0;
B=bFrameCal(B,I,array,mbSize,p,motionVect1);
motionVect=motionVect1;
else
flag=1;
B=bFrameCal(B,P,array,mbSize,p,motionVect2);
motionVect=motionVect2;
end
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -