To access the code and dataset for our new work (Scene-cGAN and Aqua-Depth) under review, please go to https://github.com/SalPGS/Scene-cGAN.
This repository contains Pytorch implementation of the paper "DGD-cGAN: A Dual Generator for Image Dewatering and Restoration".
- Paper: https://www.sciencedirect.com/science/article/abs/pii/S0031320323008567
- Preprint: https://arxiv.org/abs/2211.10026
Underwater images are usually covered with a blue-greenish colour cast, making them distorted, blurry or low in contrast. This phenomenon occurs due to the light attenuation given by the scattering and absorption in the water column. In this paper, we present an image enhancement approach for dewatering which employs a conditional generative adversarial network (cGAN) with two generators. Our Dual Generator Dewatering cGAN (DGD-cGAN) removes the haze and colour cast induced by the water column and restores the true colours of underwater scenes whereby the effects of various attenuation and scattering phenomena that occur in underwater images are tackled by the two generators. The first generator takes at input the underwater image and predicts the dewatered scene, while the second generator learns the underwater image formation process by implementing a custom loss function based upon the transmission and the veiling light components of the image formation model. Our experiments show that DGD-cGAN consistently delivers a margin of improvement as compared with the state-of-the-art methods on several widely available datasets.
We used TURBID dataset from Duarte et al.[1] available here . We provide the TURBID images split into four equal sizes. The data is available for download Ground Truth , Underwater , Transmission and Scattered light images. Test data is available inside the data folder: Ground Truth and Underwater. Metrics are provided by Funie-GAN authors here: evaluation .
We compare DGD-cGAN, with Contrast Limited Adaptive Histogram Equalisation (CLAHE), Retinex, FUnIE-GAN, Water-Net and UGAN methods.
Image Input | Ground truth | CLAHE | RETINEX | FUnIE-GAN | Water-Net | UGAN | DGD-cGAN |
---|---|---|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |