Why the denoised image is not visible after running wdenoise2 code

2 次查看(过去 30 天)
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 个)

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

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by