File Exchange

image thumbnail

TID - Targeted Image Denoising

version (511 KB) by Enming Luo
Adaptive image denoising by targeted databases


Updated 04 Mar 2016

View License

This package provides an implementation of an adaptive image denoising algorithm using targeted databases. The proposed method [1, 2], called Targeted Image Denoising (TID), applies a group sparsity minimization and a localized prior to learn the optimal denoising filter from the targeted database. To have an overall evaluation of the denoising performance, please run the demo file: "demo.m". For comparison purposes, we also provide the codes for some state-of-the-art denoising methods including BM3D, BM3D-PCA, LPG-PCA, and NLM. All these methods are re-implemented and modified by us such that patch search is performed over the targeted external databases.
For additional information and citations, please refer to:
[1] E. Luo, S. H. Chan, and T. Q. Nguyen, "Adaptive Image Denoising by Targeted Databases," IEEE Trans. Image Process., vol. 24, no. 7, pp. 2167-2181, Jul. 2015.
[2] E. Luo, S. H. Chan, and T. Q. Nguyen, "Image Denoising by Targeted External Databases," in Proc. IEEE Intl. Conf. on Acoustics, Speech and Signal Process.(ICASSP'14), pp. 2469-2473, May 2014.

Comments and Ratings (24)


Yefeng (view profile)

Hi, I am a little bit confused for the variables "rem_h" and "rem_w" in some scripts.


DistoR (view profile)

Enming Luo

@lydia hamis and @Mohammad Mahdi Abedi, in the code, if you need to recompile the code to generate the .mex files, you could uncommented some lines at the very beginning (It should be pretty easy). I think I have provided the .mex files but in case you couldn't find them, you could also download all the codes here:

lydia hamis

hi.. i try to tun your program..but i encountered with this error..can you please help me out?

Error using mex
No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64 Compiler. For more options,

Error in demo (line 20)
mex -g code/blk_matching.cpp;

Hello can you help me with the compiler error:
Error using mex
No supported compiler or SDK was found. For options, visit

I have the 2015a version

othdil ahmadi

Mengqi Yu

Great toolbox for image denoising!

Y.H Hsieh

Great implementation for image denoising.


Ramsin (view profile)

Nan Zou

The package contains reliable tools for image denoising. A big appreciation for the effort paid by the author.

Sung-En Chiu

Nice implementation easy to use.

Charlie An

Well written code with other references


Great tool, very easy to use

Ji Dai

Ji Dai (view profile)

Duo Song

Dongjin Song

A nice toolbox for image denoising~

Shibin P

Menglin Zeng

Thank you for sharing!

Kyoung Lee

Chao Ren

Igor Fedorov

Jingxin Ye

nice documented, easy to follow

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor