Code covered by the BSD License  

Highlights from
IMAGE DENOISING USING VISUSHRINK

image thumbnail

IMAGE DENOISING USING VISUSHRINK

by

 

Determine thresholds to minimize MSE,

op=sthresh(X,T);
function op=sthresh(X,T);

%A function to perform soft thresholding on a 
%given an input vector X with a given threshold T
% S=sthresh(X,T);

    ind=find(abs(X)<=T);
    ind1=find(abs(X)>T);
    X(ind)=0;
    X(ind1)=sign(X(ind1)).*(abs(X(ind1))-T);
    op=X;
    

Contact us