Skip to content

muditjoshi98/Image-Dehazing-Using-Residual-Based-Deep-CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Dehazing using Residual-Based Deep CNN

Implementation of paper https://ieeexplore.ieee.org/document/8355803 with the addition of the transmission refinement using guided filters from Dehazenet paper.

Dataset

Training Dataset

Used 1200 indoor images and their respective depth maps and generated 60000 image patches (16x16 size) 50 patch each image.

Testing Dataset

Training

Training is done on the dataset of size 16x16 in two phases:

  • CNN Model - Hazy image is taken as input to generate the transmission map of the image.

    • Here we have also added the Transmission refinement using Guided Filter (taken from Dehazenet)
  • Residual Model - Ratio of hazy image and transmission map is feeded to the network to generate the residual image.

  • Residual Image is finally subtracted from the Hazy Image to generate the Clear Image.

Testing

Testing involves the creation of the network model from the image size and then loading the trained weights.

Network Testing Steps

Input Cones Output Trans Transmission Map Refined
1. Input Image (I) 2. Output Transmission map (t) 3. Transmission Map Refined (T)
(I/T) Ration Residual Image Generated Clear Image
4. Residual Map Input (H = I/T) 5. Residual Image (b) 6. Generated Clear Image (J)

Results

Outdoor

Input Output

Indoor

Input Output

For some images result were not as good

Problems Faced

This is my first attempt to implement a Deep Learning research Paper. Many things is not clear in the paper itself, so tried on the assumptions, like :

  • The training dataset preparation is not specified properly, so used method mentioned in Dehazenet paper.
  • Slice layer implementation is hard in Keras.
  • Residual Network is not clear.

References

Datasets:

Papers :

Reference Codes :

About

Implement Image Dehazing Using Residual-Based Deep CNN paper with added refinements from Dehazenet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published