7 % PSNR value of the denoised image
10 fid = fopen('boat','r');
11 s = fread(fid,[512 512],'unsigned char');
22 % Run local adaptive image denoising algorithm using dual-tree DWT.
23 y = denoising_dtdwt(x);
28 % Calculate the PSNR value
29 PSNR = 20*log10(256/std(err(:)))