文件名称:bbb
介绍说明--下载内容均来自于网络,请自行研究使用
二.二维小波分解与重构程序说明
1.主函数
mymain.m:通过调用所写的函数对信号进行二维小波分解与重构
main.m:利用MATLAB中小波变换函数实现
2.调用的子函数
function [x2,cA,cV,cH,cD] mydwt2(x,Lo_D,Hi_D)
函数mydwt() 对 x 进行二维小波分解
输入参数为x,Lo_D,Hi_D
x为输入信号,Lo_D为低通滤波器,Hi_D为高通滤波器
输出参数:cA,cV,cH,cD —— 是小波分解系数矩阵的四个子矩阵
x2为小波分解系数矩阵
cA:低频部分分解系数; cH:水平方向分解系数;
cV:垂直方向分解系数; cD:对角线方向分解系数。
function y myidwt2(cA,cV,cH,cD,Lo_D,Hi_D)
函数 myidwt2()对输入的子矩阵序列cA,cV,cH,cD进行重构,得到新图像Y
输入参数:cA,cV,cH,cD,Lo_D,Hi_D
滤波器系数:Lo_D为低通滤波器,Hi_D为高通滤波器
cA,cV,cH,cD :小波分解系数矩阵的四个子矩阵
cA:低频部分分解系数; cH:水平方向分解系数;
cV:垂直方向分解系数; cD:对角线方向分解系数。
-Two- dimensional Wavelet Decomposition and Reconstruction Program Descr iption
Main function
Mymain.m: by calling the function written by the two-dimensional wavelet decomposition and reconstruction of the signal
Main.m: using MATLAB wavelet transform function to achieve
2. Call the subfunction
Function [x2, cA, cV, cH, cD] mydwt2 (x, Lo_D, Hi_D)
The function mydwt () performs two-dimensional wavelet decomposition on x
The input parameters are x, Lo_D, Hi_D
X for the input signal, Lo_D for the low-pass filter, Hi_D for the high-pass filter
Output parameters: cA, cV, cH, cD- are the four sub-matrices of the wavelet decomposition coefficient matrix
X2 is the wavelet decomposition coefficient matrix
CA: low frequency partial decomposition factor cH: horizontal decomposition factor
CV: vertical direction decomposition coefficient cD: diagonal direction decomposition coefficient.
Function y myidwt2 (cA, cV, cH, cD, Lo_D, Hi_D)
The function myidwt2 ()
1.主函数
mymain.m:通过调用所写的函数对信号进行二维小波分解与重构
main.m:利用MATLAB中小波变换函数实现
2.调用的子函数
function [x2,cA,cV,cH,cD] mydwt2(x,Lo_D,Hi_D)
函数mydwt() 对 x 进行二维小波分解
输入参数为x,Lo_D,Hi_D
x为输入信号,Lo_D为低通滤波器,Hi_D为高通滤波器
输出参数:cA,cV,cH,cD —— 是小波分解系数矩阵的四个子矩阵
x2为小波分解系数矩阵
cA:低频部分分解系数; cH:水平方向分解系数;
cV:垂直方向分解系数; cD:对角线方向分解系数。
function y myidwt2(cA,cV,cH,cD,Lo_D,Hi_D)
函数 myidwt2()对输入的子矩阵序列cA,cV,cH,cD进行重构,得到新图像Y
输入参数:cA,cV,cH,cD,Lo_D,Hi_D
滤波器系数:Lo_D为低通滤波器,Hi_D为高通滤波器
cA,cV,cH,cD :小波分解系数矩阵的四个子矩阵
cA:低频部分分解系数; cH:水平方向分解系数;
cV:垂直方向分解系数; cD:对角线方向分解系数。
-Two- dimensional Wavelet Decomposition and Reconstruction Program Descr iption
Main function
Mymain.m: by calling the function written by the two-dimensional wavelet decomposition and reconstruction of the signal
Main.m: using MATLAB wavelet transform function to achieve
2. Call the subfunction
Function [x2, cA, cV, cH, cD] mydwt2 (x, Lo_D, Hi_D)
The function mydwt () performs two-dimensional wavelet decomposition on x
The input parameters are x, Lo_D, Hi_D
X for the input signal, Lo_D for the low-pass filter, Hi_D for the high-pass filter
Output parameters: cA, cV, cH, cD- are the four sub-matrices of the wavelet decomposition coefficient matrix
X2 is the wavelet decomposition coefficient matrix
CA: low frequency partial decomposition factor cH: horizontal decomposition factor
CV: vertical direction decomposition coefficient cD: diagonal direction decomposition coefficient.
Function y myidwt2 (cA, cV, cH, cD, Lo_D, Hi_D)
The function myidwt2 ()
(系统自动生成,下载前可以参看下载内容)
下载文件列表
二维小波分解与重构\cinema.jpg
..................\cy.jpg
..................\downspl.m
..................\lena.jpg
..................\lena.png
..................\lena2.jpg
..................\lena3.jpg
..................\lena4.png
..................\main.m
..................\main_fast.m
..................\mydwt.m
..................\mydwt2.m
..................\myidwt.m
..................\myidwt2.m
..................\mymain.m
..................\pepper.png
..................\upspl.m
..................\wlfilter.m
..................\xiaobotuxiang.m
二维小波分解与重构