Code covered by the BSD License  

Highlights from
An edge adaptive directional total variation model

image thumbnail

An edge adaptive directional total variation model

by

 

An edge adaptive directional total variation model is proposed for image noise removal

caclsnr(I,I0)
function snr1 = caclsnr(I,I0)
[m n] = size(I);
a = max(I);
maxI = max(a);
Istd = maxI.^2;
Sstd = std2(I0).^2;
snr1 = 10*(log(Istd/Sstd))/log(10);

Contact us