matlab小波变换图像处理实现程序.docVIP

  • 10
  • 0
  • 约1.37千字
  • 约 3页
  • 2020-12-17 发布于浙江
  • 举报
(到学校的维普网上查找《基于形态学的小波变换图像去噪方法研究》论文) matlab小波变换图像处理实现程序 %这个是2D-DWT的函数,是haar小波 %c是图像像素矩阵 steps是变换的阶数 function dwtc = dwt_haar(c, steps) % DWTC = CWT_HARR(C) - Discrete Wavelet Transform using Haar filter % % M D Plumbley Nov 2003 N = length(c)-1; % Max index for filter: 0 .. N % If no steps to do, or the sequence is a single sample, the DWT is itself if (0==N | steps == 0) dwtc = c; return end % Check that N+1 is divisible by 2 if (mod(N+1,2)~=0) disp([Not divisible 2: num2str(N+1)]); return end % Set the Haar analysis filter h0 = [1/2 1/2]; % Haar Low-pass filter h1 = [-1/2 1/2];

文档评论(0)

1亿VIP精品文档

相关文档