Code

Image denoise: denoising using soft threshold

Senthilkumar July 30, 2011 Coded in Matlab

This function used to denoise a noisy image using simple soft threshold method

function y = soft(x,T)
%function used to denoise a noisy image with given soft threshold
%x = noisy image
%T = threshold
y = max(abs(x) - T, 0);
y = y./(y+T) .* x;