/CBDNet_ISP

ISP python code for generation near-realistic noisy sRGB images. (CBDNet)

Primary LanguagePython

Realistic Noise Synthesis(sRGB)

Introduction

This is the Python implementation of realistic noise synthesis on real images, followed by the approximated noise model proposed in CBDNet and Liu et al. The original matlab implementation verison is in here. This version is slightly different with the matlab one. We re-arrange the process order and adjust some incorrect details. This noise synthesis module can be pluged into sRGB noise denoising models, to train deep models with approximated realistic noises.

Realistic Noise Model (from CBDNet)

Given a clean image x, the realistic noise model can be represented as: Where y is the noisy image, f(.) is the CRF function which converts irradiance L to x. M(.) represents the function that convert sRGB image to Bayer image and M^(-1)(.) represents the demosaicing function. If considering denosing on compressed images,

Usage

  • "Test_Realistic_Noise_Model.py" is the testing script. Users can change the input image path, and adjust the \sigma_s, \sigma_c.

Requirements and Dependencies

  • Python 3

Reference

1.CBDNet

2.Liu et al. Automatic Estimation and Removal of Noise from a Single Image