/HazeRemoval

MVA 2020/2021 Numerical Imaging Project

Primary LanguageJupyter Notebook

Single Image Haze Removal using Dark Channel Prior and Guided Image Filtering/Fast Guided Filter

Numerical Imaging Project - MVA 2020/2021

Thomas Chabal & Martin Graive

Reimplementation of the Haze Removal method Single Image Haze Removal Using Dark Channel Prior from He et al. using Guided Image Filtering from He et al. and optimizing the computation with Fast Guided Filter (He et al.).

Links

Main scripts

  • To dehaze a single image, simply run python main.py -p path/to/image --resize max_size_you_want from the root folder.
  • To compare all the matting methods on a single image, run python evaluate_matting.py -p path/to/image -s path/to/save_folder --resize max_size_you_want from the benchmarks folder.
  • To compute all the parameters evaluations on a whole folder, run python launch_all_evaluations.py -f path/to/images/folder -s path/to/save/folder --resize max_size_you_want from the benchmarks folder.

Visual results

Visual results

References