Why the denoised image is not visible after running wdenoise2 code

This is my code
wdenoise2(double(gr),3,'Wavelet','coif5','NoiseEstimate','LevelDependent','DenoisingMethod','Bayes','ThresholdRule','Median','NoiseDirection',["h","v","d"]);
and the image look like this. Can anyone help me to perform denoising images using wavelet s

Réponses (1)

imshow(denoised, [0 255])
assuming that the original image is uint8.
You should be considering using im2double() on your original image, processing the result. imwrite() and imshow() can accept the results directly, or you can im2uint8() after the processing.

Catégories

En savoir plus sur Denoising and Compression dans Centre d'aide et File Exchange

Produits

Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by