All Projects → IDKiro → Cbdnet Pytorch

IDKiro / Cbdnet Pytorch

Licence: mit
Unofficial PyTorch implementation of CBDNet.

Programming Languages

python
139335 projects - #7 most used programming language

CBDNet-pytorch

Unofficial PyTorch implementation of CBDNet.

CBDNet in MATLAB

CBDNet in Tensorflow

Update

2020.12.04: We trained the CBDNet model using the dataset in GMSNet. PSNR (DND benchmark): 38.06 -> 39.63.

Quick Start

Download the dataset and pretrained model from GoogleDrive.

Extract the files to data folder and save_model folder as follow:

~/
  data/
    SIDD_train/
      ... (scene id)
    Syn_train/
      ... (id)
    DND/
      images_srgb/
        ... (mat files)
      ... (mat files)
  save_model/
    checkpoint.pth.tar

Train the model:

python train.py

Predict using the trained model:

python predict.py input_filename output_filename

Network Structure

Image of Network

Realistic Noise Model

Given a clean image x, the realistic noise model can be represented as:

Where y is the noisy image, f(.) is the CRF function and the irradiance , M(.) represents the function that convert sRGB image to Bayer image and DM(.) represents the demosaicing function.

If considering denosing on compressed images,

Result

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].