pfstmo_ferradans11(1)
β¨ NAME β¨
pfstmo_ferradans11 β a tone mapping operator that does visual adaptation and local contrast enhancement, and honestly? she does both. π
π SYNOPSIS π
pfstmo_ferradans11 [--rho-r <val>] [--inv_alpha-a <val>] [--help]
π¦ DESCRIPTION π¦
okay so this command runs a tone mapping operator, and it's the one described in this paper, bestie, quote it exactly:
S. Ferradans, M. Bertalmio, E. Provenzi and V. Caselles An analysis of visual adaptation and contrast perception for tone mapping. In: Trans. on Pattern Analysis and Machine Intelligence, 2011.
and here's the part that matters most β this operator does NOT need gamma correction. Not a little bit, not "eh maybe", it just doesn't. There's an example below showing you the way, so look at it before you go adding pfsgamma in there like it's nothing. π«Ά
π OPTIONS π
--rho-r <val>,-r <val>β this one controls the overall lightness (and it's tied to the adaptation level). Bigger value = brighter final image, simple as that. Default value:-4--inv_alpha-a <val>,-a<val>β this one controls the level of detail. The higher you go, the bigger the level of detail enhancement gets. Default value:0.1--verboseβ prints extra info while the program is running, if you're nosy like that (no judgement, I am too π).--help,-hβ prints the list of commandline options. Classic. Iconic. Always there for you.
πΈ EXAMPLES πΈ
Tone map an image and save it out as png:
pfsin Tree.pfm | pfstmo_ferradans11 --rho -3 --inv_alpha 10 | pfsout tree.png
that's it, that's the whole pipeline β in through pfsin, toned through pfstmo_ferradans11, out through pfsout. β¨
π₯ SEE ALSO π₯
π BUGS π
Found something cursed? Please report bugs and comments to the pfstools discussion group at http://groups.google.com/group/pfstools. They genuinely want to hear it, fr fr. π
and that's the whole pfstmo_ferradans11(1) page, straight from the General Commands Manual β thanks for reading my lil unix brain dump, love u, go tone map something pretty ππ§
π¦ 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