Image denoising using wavelet transform

>> x=imread('2dimage.jfif');
figure,imshow(x)
an=imnoise(x,'gaussian');
figure,imshow(an)
>> [LL1,LH1,HL1,HH1]= dwt2(an,'haar');
figure(1)
subplot(2,2,1);imshow(LL1);title('LL1 band of image');
subplot(2,2,2);imshow(LH1);title('LH1 band of image');
subplot(2,2,3);imshow(HL1);title('HL1 band of image');
subplot(2,2,4);imshow(HH1);title('HH1 band of image');
This is my code for image denoising using wavelet transform. Now my problem is that how I'll perform second level approximation for decomposition and how apply BAYE'S THRESHOLDING on it. Plzzzz help me. I need it . THANKS in advance.

1 commentaire

RAVI AKULA
RAVI AKULA le 11 Juil 2021
Hiii bro please help me if don't mine please provide code for image denoising by dual complex wavelet transform

Connectez-vous pour commenter.

Réponses (2)

San Asf
San Asf le 5 Jan 2020

0 votes

image denoising using wavelet transform
Sujey Avitia Zanabria
Sujey Avitia Zanabria le 3 Fév 2020
Modifié(e) : David le 4 Fév 2020
I found this video https://www.youtube.com/watch?v=MrYYdMTKJ6c , the sigthresh code function is this:
function [T] = sigthresh(M, level, test_matrix)
%[a,b] = size(M);
%M is only HH band
C = 0.6745;
variance = (median(abs(M(:)))/C)^2;
beta = sqrt(log(length(M)/level));
T = beta*variance/std2(test_matrix);
end

2 commentaires

San Asf
San Asf le 4 Fév 2020
Thanks sujey avitia
RAVI AKULA
RAVI AKULA le 11 Juil 2021
Hiii bro please help us please provide code for image denoising by using dual tree complex wavelet transform

Connectez-vous pour commenter.

Catégories

En savoir plus sur Wavelet Toolbox dans Centre d'aide et File Exchange

Produits

Question posée :

le 5 Jan 2020

Commenté :

le 11 Juil 2021

Community Treasure Hunt

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

Start Hunting!

Translated by