PFStmo :: tone mapping operators


  1. Introduction
  2. Implemented Algorithms
  3. Download
  4. Contact


pfstmo package contains the implementation of state-of-the-art tone mapping operators. The motivation here is to provide an implementation of tone mapping operators suitable for convenient processing of both static images and animations.

The operators are embedded in a flexible framework [pfstools] which provides a unified input/output mechanism and a modular architecture for the filtering of the image data. Various file formats for static images and video are transparently supported and the High Dynamic Range data are processed modularly through a Unix piping mechanism.

Follow the links below to see the sample commands illustrating the usage of the software provided in this package.

Implemented Algorithms

  1. Adaptive Logarithmic Mapping for Displaying High Contrast Scenes (*)
    F. Drago, K. Myszkowski, T. Annen, and N. Chiba
    In Eurographics 2003
  2. Time-Dependent Visual Adaptation for Realistic Image Display
    S.N. Pattanaik, J. Tumblin, H. Yee, and D.P. Greenberg
    In Proceedings of ACM SIGGRAPH 2000
  3. Dynamic Range Reduction Inspired by Photoreceptor Physiology
    E. Reinhard and K. Devlin
    In IEEE Transactions on Visualization and Computer Graphics, 2004
  4. Photographic Tone Reproduction for Digital Images (*)
    E. Reinhard, M. Stark, P. Shirley, and J. Ferwerda
    In ACM Transactions on Graphics, 2002
  5. Fast Bilateral Filtering for the Display of High-Dynamic-Range Images
    F. Durand and J. Dorsey
    In ACM Transactions on Graphics, 2002
  6. A Tone Mapping Algorithm for High Contrast Images
    M. Ashikhmin
    In the 13th Eurographics Workshop on Rendering, 2002
  7. Gradient Domain High Dynamic Range Compression
    R. Fattal, D. Lischinski, and M. Werman
    In ACM Transactions on Graphics, 2002
  8. A Perceptual Framework for Contrast Processing of High Dynamic Range Images
    R. Mantiuk, K. Myszkowski, and H.-P. Seidel
    In ACM Transactions on Applied Perception, 2006
(*) implementation based on the original code of the authors


PFStmo package is available for download with the complete source code at SourceForge.

This software is implemented using the floating-point pipe streaming implemented in PFStools library. PFStools is a free library and can be downloaded from SourceForge along with PFStmo.

The most recent release is pfstmo 1.1 (date: 11/07/2007, changes)


This package is maintained by Grzegorz Krawczyk (krawczyk [at]

All comments and suggestions are very welcome.


This work was supported partly by the European Community within the scope of the RealReflect project IST-2001-34744 "Realtime visualization of complex reflectance behavior in virtual prototyping".