PFStmo :: reinhard02


Photographic Tone Reproduction for Digital Images
E. Reinhard, M. Stark, P. Shirley, and J. Ferwerda
In ACM Transactions on Graphics, 2002

Web page:

Currently the implementation is based on the original code of the author (available at the above link).

Tone mapping of HDR images

Stanford Memorial Church
HDR image courtesy of Paul Debevec

Command line to generate this result:
$ pfsin memorial.hdr | pfstmo_reinhard02 -s | \
  pfsgamma -g 2.2 | pfsout memorial_reinhard02.png
Source: memorial.hdr
Result: memorial_reinhard02.png

Tone mapping of HDR video

Tunnel in Saarbruecken
Grzegorz Krawczyk © 2004

Command line to generate this result:
$ pfsinexr sb%04d.exr | pfstmo_reinhard02 -s | \
  pfsgamma -g 2.2 | \
  pfsoutffmpeg -qscale 4 -s 320x240 sbtour_reinhard02.avi
Result: sbtour_reinhard02.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:24:20 CEST 2005