---
name: "pfstmo_durand02"
section: "1"
platform: "linux"
package: "pfstmo"
version: "2.2.0-9"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pfstmo_durand02"
---

# pfstmo\_durand02(1)

Fast bilateral filtering for the display of HDR images

## NAME

pfstmo\_durand02 - Fast bilateral filtering for the display of HDR images

## SYNOPSIS

**pfstmo\_durand02** \[--sigma-s \<val\>\] \[--sigma-r \<val\>\] \[--base-contrast \<val\>\]  \[--quiet\] \[--verbose\] \[--help\]

## DESCRIPTION

This command implements a tone mapping operator as described in:

-

  F. Durand and J. Dorsey.

-

  Fast Bilateral Filtering for the Display of High-Dynamic-Range Images.

-

  In: In ACM Transactions on Graphics, 2002.

According to paper, results of this TMO require gamma correction.

Unless **-g** option is specified, this operator also employs color correction mechanism from:

-

  Radoslaw Mantiuk, Rafal Mantiuk, Anna Tomaszewska, Wolfgang Heidrich.

-

  Color Correction for Tone Mapping.

-

  In: Computer Graphics Forum (Proc. of EUROGRAPHICS'09), 28(2), 2009.

-

  http://zgk.wi.ps.pl/color\_correction/

## OPTIONS

- **--sigma-s** \<val\>, **-s** \<val\>

  Sigma value for spatial kernel. Default value: 40

- **--sigma-r** \<val\>, **-r**\<val\>

  Sigma value for range kernel. Default value: 0.4

- **--base-contrast** \<val\>, **-c** \<val\>

  Contrast of the base layer. Default value is 5.0f. Lower value causes higher contrast compression and results in darker picture - can help if after tone mapping too many pixels remain saturated.

-

  Increasing this value will results in brighter and more 'dynamic' picture.

- **--original**, **-g**

  Use original algorithm as described in the paper with no extensions. For this operator the switch will disable color correction.

- **--verbose**

  Print additional information during program execution.

- **--quiet**, **-q**

  Do not display progress report.

- **--help**, **-h**

  Print list of commandline options.

## EXAMPLES

- pfsin memorial.hdr \| pfstmo\_durand02 \| pfsgamma -g 2.2 \| pfsout memorial.png

  Tone map image and save it in png format.

## SEE ALSO

[**pfsgamma**(1)](/pfsgamma/1.md) [**pfsin**(1)](/pfsin/1.md) [**pfsout**(1)](/pfsout/1.md) [**pfsview**(1)](/pfsview/1.md)

## BUGS

Please report bugs and comments on implementation to  Grzegorz Krawczyk \<krawczyk@mpi-sb.mpg.de\>.
