%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Copyright form, Xidian University
% All rights reserved.
% This work should only be used for nonprofit purposes.
%
% Please cite the paper when you use this code:
%
% Weisheng Dong, Xin Li, Lei Zhang, and Guangming Shi, 
% "Sparsity-based Image Denoising via Dictionary Learning and Structural 
% Clustering", IEEE Con. on Computer Vision and Pattern Recognition (CVPR),
% 2011.
%
% AUTHORS:
%     Weisheng Dong, email:
%     wsdong@mail.xidian.edu.cn
%
%  Latest modify at Mar. 22, 2011
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clc;
clear;
addpath('Utilities');
Original_image_dir    =    'Data\images';


Output_dir     =    'Results\Denoising_results\nsig_20';
nSig           =    20;         % The standard variance of the additive Gaussian noise;

Image_Denoising(nSig, Output_dir, Original_image_dir);


