DSPRelated.com
Code
Online · Live + on demand
February 9-11, 2027
Price goes up Nov 1: register now to lock in today's rate
Register Now →

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;