Alt text

Bilateral Filter

spatial: 4, intensity: 0.15 Alt text

Joint Bilateral Filter

spatial: 3, intensity: 0.1 Alt text

Detail transfer

Settings for F_base: spatial: 4, intensity: 0.15 Alt text

Shadow and specularity masking

tau_shadow: 0.1, tau_specular: 0.85 Alt text

Bilateral filtering on my own image

Alt text Alt text

Differentiate and re-integration of image

Alt text

Fused gradient field

I found \(\sigma=35, \tau_s=0.85\) to give desirable results.

Gradient field \(\nabla \alpha\)

Alt text

Gradient field \(\nabla \phi^\prime\)

Alt text

Gradient field \(\nabla \phi^\star\)

Alt text

Weights

Alt text

Final fused image

Different initializations did not effect the outcome image that much, but the boundary conditions do. I found the average of the ambient and flash image to give best results. Alt text

Gradient domain fusion on my own images

Alt text