# NOT RUN {
I = lena_crop #use a smaller image as an example
## add noise
sigma=20;
I_noise=AddNoise(I,sigma)
## use ODCT dictionary
D0=ODCT(64,100)
## denoise
# }
# NOT RUN {
I_clean=denoiseImage(I_noise,D0,sigma)
# }
Run the code above in your browser using DataLab