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

📄 absda.m

📁 vc实现图像压缩编程
💻 M
字号:
for m0=1:141
    for n0=1:259
        if abs(X1hh(m0,n0))>abs(X2hh(m0,n0))
            Xhh(m0,n0)=X1hh(m0,n0);
        else
            Xhh(m0,n0)=X2hh(m0,n0);
        end
        if abs(X1hg(m0,n0))>abs(X2hg(m0,n0))
            Xhg(m0,n0)=X1hg(m0,n0);
        else
            Xhg(m0,n0)=X2hg(m0,n0);
        end
        if abs(X1gh(m0,n0))>abs(X2gh(m0,n0))
            Xgh(m0,n0)=X1gh(m0,n0);
        else
            Xgh(m0,n0)=X2gh(m0,n0);
        end
        if abs(X1gg(m0,n0))>abs(X2gg(m0,n0))
           Xgg(m0,n0)=X1gg(m0,n0);
        else
           Xgg(m0,n0)=X2gg(m0,n0);
        end
    end
end
figure
subplot(2,2,1)
image(Xhh)
colormap(map)
subplot(2,2,2)
image(Xhg)
colormap(map)
subplot(2,2,3)
image(Xgh)
colormap(map)
subplot(2,2,4)
image(Xgg)
colormap(map)

⌨️ 快捷键说明

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