PFStmo :: durand02


Fast Bilateral Filtering for the Display of High-Dynamic-Range Images
F. Durand and J. Dorsey
In ACM Transactions on Graphics, 2002

Web page:

Tone mapping of HDR images

Stanford Memorial Church
HDR image courtesy of Paul Debevec

Command line to generate this result:
$ pfsin memorial.hdr | pfstmo_durand02 -c 4 | \
  pfsgamma -g 2.2 | pfsout memorial_durand02.png
Source: memorial.hdr
Result: memorial_durand02.png

Tone mapping of HDR video

Tunnel in Saarbruecken
Grzegorz Krawczyk © 2004

Command line to generate this result:
$ pfsinexr sb%04d.exr | pfstmo_durand02 -c 4 | \
  pfsgamma -g 2.2 | \
  pfsoutffmpeg -qscale 4 -s 320x240 sbtour_durand02.avi
Result: sbtour_durand02.avi


The implementation of this algorithm is a part of pfstmo package and is available for download with complete source code. All comments and suggestions are welcome.

Please report bugs and comments to Grzegorz Krawczyk (krawczyk [at]

back to pfstmo project page
Last modified: Tue Jun 21 10:23:44 CEST 2005