⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bframeproc.m

📁 实现图象,可以直接运行,里面有示例图象,十分便捷的实现图象压缩
💻 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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -