pfstmo_pattanaik00(1)
π pfstmo_pattanaik00(1) β the Time-dependent Visual Adaptation Model, bestie edition π
okay so. gather round. this is pfstmo_pattanaik00, a lil command from the General Commands Manual, and it is genuinely one of the coolest tone mappers out there. it's giving science + vibes. let's get into it π¦
β¨ NAME β¨
pfstmo_pattanaik00 β Time-dependent Visual Adaptation Model. that's the whole name, no notes, she ate.
πΈ SYNOPSIS πΈ
pfstmo_pattanaik00 [--time-dependence] [--fps <val>] [--mul
<multiplier>] [--local] [--cone <val>] [--rod <val>] [--verbose]
[--help]
π DESCRIPTION π
this command implements a tone mapping operator as described in:
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.
π¨ real talk: this operator requires properly calibrated image data (in cd/m2) and its results should be gamma corrected. don't skip that part bestie, i'm begging π
the local version of this operator is based on the following paper:
Adaptive Gain Control For High Dynamic Range Image Display. S.N. Pattanaik, H. Yee. In proceedings of SCCG 2002.
π OPTIONS π
--time-dependence,-tβ use the time dependent model of adaptation. this is the one you want for tone mapping an animation. heads up tho: it has no influence on single-frame input. switched off by default. β Note: it is important to correctly set the speed of the input animation (--fps). like, important important.--fps <val>,-f <val>β the speed of the input animation, in frames per second. used when time-dependence is switched on (-t). default value:16.0. π--mul <multiplier>,-m <multiplier>β multiply input values by a multiplier value. super useful if your input data is not calibrated. default value:1.0.--local,-lβ use the local version of the tone mapping. lowkey a plot twist: time-dependent effects are cancelled while using the local version, and the global version is used by default.--cone <val>,-c <val>β set the adaptation level for cones. and if you don't use the--rodparameter, this will also set the adaptation level for rods. by default, the adaptation level is calculated as a logarithmic average of luminance in the input image. π§--rod <val>,-r <val>β set the adaptation level for rods. by default, the adaptation level is calculated as a logarithmic average of luminance in the input image.--verboseβ print additional information during program execution. she's chatty and we love her for it π¬--helpβ print list of command line options. classic. iconic. always there for you π«Ά
π EXAMPLES π
tone map image, apply gamma correction, and save it in png format:
pfsin memorial.hdr | pfstmo_pattanaik00 -m 650 | pfsgamma -g 2.2 | pfsout memorial.png
look at that pipeline. no cap, that's a whole glow-up in one line. π₯
π¦ SEE ALSO π¦
pfsgamma(1) pfsin(1) pfsout(1) pfsview(1)
π BUGS π
please report bugs and comments on implementation to Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>. be nice, be specific, include the details. periodt. π
that's the whole page, bestie π this was pfstmo_pattanaik00(1) from the General Commands Manual β go forth, tone map responsibly, and remember to gamma correct. mwah π
β¨
π¦ where this page comes from
- debian bookworm: pfstmo 2.2.0-5+b1 Β· GPL-2.0-or-later
- debian trixie: pfstmo 2.2.0-9 Β· GPL-2.0-or-later
- fedora 43: pfstmo 2.2.0-23.fc43 Β· GPL-2.0-or-later
- fedora 44: pfstmo 2.2.0-25.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: pfstmo 2.2.0-bp160.1.20 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstmo 2.2.0-bp160.1.20 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstmo 2.2.0-bp160.1.20 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstmo 2.2.0-bp160.1.20 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu jammy: pfstmo 2.2.0-2 Β· GPL-2.0-or-later
- ubuntu noble: pfstmo 2.2.0-7build3 Β· GPL-2.0-or-later
- ubuntu questing: pfstmo 2.2.0-9
- ubuntu resolute: pfstmo 2.2.0-10 Β· GPL-2.0-or-later
- ubuntu stonking: pfstmo 2.2.0-12 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms