GMAN(Jan, 2018 - June, 2018, Dec, 2018)

Introduction

GMAN is a awesome Convolutional neural network purposed on haze removal. It is a completely end-to-end dehaze system so the input to the system is hazed rgb images and the output of the system is the clear images that processed by the system. The results can be found in the Results column, where lists our evaluation results on SOTS evaluation dataset. There lists 500 images for indoor test and 500 images for outdoor test saparately, in each file, we can also find a log.txt file showing the psnr and ssim for each images.

Dateset PSNR(dB) SSIM Model Path Link
SOTS outdoor 28.474217 0.944434 click me click me
SOTS indoor 27.934801 0.896512 click me click me

Imgur

How to use?

  1. Step 1:
    • You need to install all packages required by the program, such as tensorflow(GPU version), numpy etc.
    • You need to download current repository into your local environment and extract it.
  2. Step 2:
    • Go to your local file and enter the setup.sh file. Change the line 14, “PROGRAM_ROOT_PATH=’’” to the path you want.
    • Run sh setup.sh, it will automatically create the directories for running the program

Evaluate your own image

  1. Step 3:
    • Move the hazed images to (PROGRAM_ROOT_PATH)/HazeImages/TestImages.
    • If you have ground truth images to compare with the pictures processed by the net, move them to (PROGRAM_ROOT_PATH)/ClearImages/TestImages.
  2. Step 4:
    • Copy the model from (DOWNLOAD FILE)/Results/models/(outdoor or indoor) to (PROGRAM_ROOT_PATH)/DeHazeNetModel
  3. Step 5:
    • If you want to compare the result with groundtruth, you just need to run the program by using python3 gman_eval.py.
    • If you don’t have ground truth, you can can run the program by using python3 gman_eval.py --eval_only_haze=True.
  4. Step 6:
    • You results are in (PROGRAM_ROOT_PATH)/ClearResultImages.

Demonstration

Only listed several examples, more results can be found in my github.

Outdoor

Hazy Groundtruth Our result

Indoor

Hazy Groundtruth Our result

Citation

Please cite the paper if you are using this project.

@article{liu2019single,
  title={Single Image Dehazing with a Generic Model-Agnostic Convolutional Neural Network},
  author={Liu, Zheng and Xiao, Botao and Alrabeiah, Muhammad and Wang, Keyan and Chen, Jun},
  journal={IEEE Signal Processing Letters},
  volume={26},
  number={6},
  pages={833--837},
  year={2019},
  publisher={IEEE}
}

Car oriented Deep image matting (July, 2018 - Nov, 2018)

Introduction

Car oriented Deep image matting is a project I worked together with CarMedia2.0 company in Burlington. The purpose of the project is we can create a matting image using the original rgb images. The projects contains two parts, one is using MaskRcnn neural network to locate the position of car in the image, the second step is create a image matting by which we can extract the car from the original RGB image. Imgur

Since the codes are now the property of the company, I cannot ditribute them right now and I will show some demos. Improvement is easily to be achieved by some future work, however my research must be stopped by some reasons.

Demonstration

RGB Result Synthetic images

Reference

  1. Car media 2.0

Distributed Tensorflow Framework(Dec, 2018 - Now)

This is a distributed Framework used for distributed training and evaluation. I am still working on this Framework.

Other than the tutorials in Tensorflow/Model, I wrote this framework in the way that EE in Java, removing the strong coupling between the project and the system. I used a lot of reflaction to remove the initialization of instance(Just like IOC), and create a lot of function handler for user’s convinience so that can create their own aspects and cutpoint has already previoded in the framework by hard coding, that’s because I didn’t find aspect in python, and readlly don’t want to spend to much time on creating proxy XP.

Some instruction will come soon once I finished testing the framework in different occasions.

  1. Source code of this framework
  2. My explaination to this framework: Tensorflow集群式处理思想