Skip to content

official repository of "Revisiting Convolutional Sparse Coding for Image Denoising: From a Multi-scale Perspective"

Notifications You must be signed in to change notification settings

JingyiXu404/MCSCNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCSCNet: Revisiting Convolutional Sparse Coding for Image Denoising: From a Multi-scale Perspective

  • This is the official repository of the paper "Revisiting Convolutional Sparse Coding for Image Denoising: From a Multi-scale Perspective" from IEEE Signal Processing Letters 2022. [Paper Link]

framework

1. Environment

  • Python >= 3.5
  • PyTorch == 1.7.1 is recommended
  • opencv-python = =3.4.9.31
  • tqdm
  • scikit-image == 0.15.0
  • scipy == 1.3.1
  • Matlab

2. Training and testing dataset

The training data is from the [BSD500 dataset]. The test data are from [BSD500 dataset], [Urban100 dataset],[Kodak24 dataset],[McMaster dataset] Or you can download the datasets from our [Train Data], [Test Data].

3. Test

  1. Clone this repository:
    git clone https://github.com/JingyiXu404/MCSCNet.git
    

step 2 and step 3 can be ignored if you only use BSD68\Urban100\Kodak24\McMaster datasets as testsets (Download from our [Google Drive Link])

  1. Generate .npy test datasets from original test data (follow the steps in dataset/test_data).

  2. Place the high quality test images in dataset/test_data/your_folder. For example, dataset/test_data/gt_BSD68 .

    dataset 
    └── test_data
        ├── gt_BSD68
        └── gt_Urban100
        └── other test datasets
    
  3. Run the following command for single image denoising task with different noise_levels and different datasets:

    python test.py
    

Modify variables dataset (line 42 in test.py) and noise_level (line 43 in test.py) to test with different datasets (BSD68/Urban100/Kodak24/McMaster) and different noise_levels (10/15/25/30/50/70/75/90)

  1. Finally, you can find the Denoised results in ./test_results. Our results in the paper can be downloaded from [Google Drive Link]

4. Citation

If you find our work useful in your research or publication, please cite our work:

@article{xu2022revisiting,
  title={Revisiting Convolutional Sparse Coding for Image Denoising: From a Multi-scale Perspective},
  author={Xu, Jingyi and Deng, Xin and Xu, Mai},
  journal={IEEE Signal Processing Letters},
  year={2022},
  publisher={IEEE}
}

5. Contact

If you have any question about our work or code, please email [email protected] .

About

official repository of "Revisiting Convolutional Sparse Coding for Image Denoising: From a Multi-scale Perspective"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published