MSFA Image Denoising using Physics-based Noise Model and Noise-decoupled Network
Yuqi Jiang, Ying Fu, Qiankun Liu, Jun Zhang
IEEE T-PAMI 2023 Submission
This repository contains the official code and data of the IEEE T-PAMI submission paper "MSFA Image Denoising using Physics-based Noise Model and Noise-decoupled Network", by Yuqi Jiang, Ying Fu, Qiankun Liu, and Jun Zhang.
- We present a physics-based noise model for MSFA camera to generate high-quality synthetic data.
- We divide the overall noise of MSFA camera into SimpleDist component and ComplexDist noise component, and propose the Noise-decoupled network to sequentially remove each component.
- We collect a paired real MSFA image denoising dataset to verify the effectiveness of our proposed noise model and network.
The experimental data used in the paper is now publicly available at Baidu Disk (code: 9e2w
). The collected dataset contains 150 scenes and is splited into a training set of 100 scenes and a test set of 50 scenes. Each scene contains a clean image, x10 noisy image, x20 noisy image, and x40 noisy image. All the scenes are captured using MQ022HG-IM-SM5X5 NIR 2nd Generation camera from Ximea Corporation, which is equipped with an MSFA with the size of 5x5 pattern. The total number of bands in an image is 25 ranging from 665nm to 960nm with 409x217 pixels in spatial resolution for each band. All the data are scaled to [0, 1]. Put the downloaded data to data/scene_data_v4
.
- Python 3.7
- Pytorch 1.7.1
-
Download the dataset, then put it to
./data/scene_data_v4
-
Train the model by simply run
bash train.sh
- You can download the pretrained model, and put it to
exp/unet_decoupled_posemb_plus_25c_1
. Then run
bash test.sh
- Or Modify
--weights
to your/path/to/checkpoint
.
- Currently, only the Noise-decoupled Net (code:
1z15
) is provided on Baidu Disk.
Ratio | Metrics | UNet (Real data) | UNet (Synthetic data) | Noise-decoupled Net (Synthetic data) (code: 1z15 ) |
---|---|---|---|---|
x10 | PSNR | 31.5964 | 32.0299 | 32.5345 |
x10 | SSIM | 0.9619 | 0.9627 | 0.9663 |
x20 | PSNR | 29.9606 | 30.6060 | 30.8542 |
x20 | SSIM | 0.9495 | 0.9533 | 0.9581 |
x40 | PSNR | 28.8927 | 28.7374 | 28.5878 |
x40 | SSIM | 0.9352 | 0.9364 | 0.9410 |
Average | PSNR | 30.1499 | 30.4578 | 30.6588 |
Average | SSIM | 0.9489 | 0.9508 | 0.9551 |