Why the denoised image is not visible after running wdenoise2 code

3 views (last 30 days)
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

Answers (1)

Walter Roberson
Walter Roberson on 25 Nov 2020
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.

Categories

Find more on Denoising and Compression in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!