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

📄 haarrec.m

📁 EZW implementation which will use wavelet transforms and do the compression decompression using EZW
💻 M
字号:
function re_x=haarrec(X)
c=double(X);
level=1;
h=size(X,2);
h1=h;
h2=h*(2^(level-1));
while h1<=h2
  for i=1:h1
    temprow=c(i,1:h1);
    c(i,1:h1)=ihaar(temprow,h1);
  end

  for j=1:h1
    tempcol=c(1:h1,j)';
    c(1:h1,j)=ihaar(tempcol,h1)';
  end
h1=h1*2;
end
re_x=c;

⌨️ 快捷键说明

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