- 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];
您可能关注的文档
最近下载
- _智能财务视角下AI+RPA的落地路径与价值创造——以征和工业为例_.docx VIP
- T/CECS1037-2022 预拌流态固化土填筑技术标准.pdf VIP
- 91.矿山生态修复项目预算标准(试行)-TCAGHPER 091—2024.pdf VIP
- 机械工程导论课程全套课件.pptx
- 语文中考文学类文本人称作用专题复习教学课件.pptx VIP
- 2026年高一选科指导课件.pptx
- 水利工程高级工程师理论考试及答案.doc VIP
- 黄帝内经:素问第70章 五常政大论.pdf VIP
- 2025《铁磁谐振过电压的机理分析》3000字.doc VIP
- TCECA-G 0284-2024 服务器和数据存储设备能效“领跑者”评价要求.docx VIP
原创力文档

文档评论(0)