Skip to content

k-radlak/IDCNN

Repository files navigation

Impulse Detection Convolutional Neural Network (IDCNN)

The code prepared based on the tensorflow implementation of DnCNN from https://github.com/crisb-DUT/DnCNN-tensorflow, which was designed for Gaussian noise removal. The proposed filter called IDCNN is a modyfication of the DnCNN desiged for impulsive noise removal.

Results

Under preparation

Environment

Under preparation

How to run

Under preparation

Train

$ python generate_patches.py

or using shell script in which you can easili modify the parameters to control how the patches are generated

$ bash generate_patches.sh
  • Run training with the default parameters
$ python main.py

or using shell script in which you can easili modify the training parameters

$ bash generate_patches.sh

Test

$ python main.py --phase test

Inference using the pretrained model

$ python inference.py --test_file data/img/pic003___in_40.png --save_dir .  --checkpoint_dir results/checkpoint_impulses_bsd500_41/ --phase inference

or using shell script

bash run_inference.sh

About

Impulse Detection Convolutional Neural Network (IDCNN)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published