Implementation of paper "Fast bilateral filtering for the display of high-dynamic-range images"
This repository is part of the Computational Imaging course at DGIST.
- First different exposure images were combined using OpenCV to obtain merged image.
- From the merged image "intensity" and "color" layers were calculated.
- Bilateral filter was applied on the log10 of "intensity" image using OpenCV to obtain base layer (large-scale features) and detail layer (low scale features).
-
Two parameters named compression factor and absolute log scale was calculated using base layer. These parameters are used for performing tone mapping on base layer.
-
After tone-mapping base and detail layers are combined with color layer to produce tone-mapped image.
For this assignment, following resources were quite helpful: