フィルターのクリア

How to perform lifting haar wavelet?

2 ビュー (過去 30 日間)
fzhmktr
fzhmktr 2019 年 5 月 22 日
Is it possible for me to make a lifting haar from this code? This is code for haar wavelet decomposition.
function coeffs = HaarDec(I,nScales)
coeffs = zeros([size(I),2*nScales]);
for k = 1:nScales
Haar_fil = 2^(-k)*ones(2^k,2^k);
Haar_fil(1:(end/2),:) = -Haar_fil(1:(end/2),:);
coeffs(:,:,k) = conv2(X,Haar_fil,'same');
coeffs(:,:,k + nScales) = conv2(I,Haar_fil','same');
end
end

回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete Multiresolution Analysis についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by