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

답변 (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.

카테고리

도움말 센터File Exchange에서 Denoising and Compression에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 11월 25일

답변:

2020년 11월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by