Haze Remover

This was my first assignment in my Computer Vision class. This project starts with small components like converting an image to binary and plotting the histogram for each color in the image. The main component of this project is using gamma correction for haze removal. Although I succeded in removing most of the haze, I did so at the cost of saturating the image. Looking back, I could have used some kind of an adaptation filter to keep the pixel values similar throughout the process. Below is the foggy image that was used in the filtering process.

Assignment Report
OpenCV Code
MATLAB Code
Haze Image