小波分解中参数coif1的含义是什么?

时间:2016-11-03 16:03:11

标签: matlab wavelet-transform

我有小波变换代码。他们在这里使用coif1来分解信号。任何人都可以解释一下coif1的用途吗?这是什么意思?

这是代码:

function wavelet = waveletTransform(image)
% input: image to process and extract wavelet coefficients from
% output: 1x20 feature vector containing the first 2 moments of wavelet
% coefficients

imgGray = double(rgb2gray(image))/255;
imgGray = imresize(imgGray, [256 256]);

coeff_1 = dwt2(imgGray', 'coif1');
coeff_2 = dwt2(coeff_1, 'coif1');
coeff_3 = dwt2(coeff_2, 'coif1');
coeff_4 = dwt2(coeff_3, 'coif1');

% construct the feaute vector
meanCoeff = mean(coeff_4);
stdCoeff = std(coeff_4);

wavelet = [meanCoeff stdCoeff];

end

1 个答案:

答案 0 :(得分:0)

查看Matlab文档herethere(参数wname的文档),您将看到它意味着小波coif1是类型的小波,在这种情况下来自coiflet家族。

用作图像分解过滤器的小波。