Original

Smoothed

Detail
= Original - Smoothed

Tone mapping
= gamma_transform(Smoothed) + Detail

Enhanced
= Smoothed + s * Detail
  • Implementation