pfstmo_drago03(1)

✨ pfstmo_drago03 ✨

okay bestie, gather round, because this one is a whole vibe β€” it's the adaptive logarithmic tone mapping operator, and it's serving in the General Commands Manual section of your local man pages πŸŽ€


🌈 NAME 🌈

pfstmo_drago03 β€” the Adaptive logarithmic tone mapping operator πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

pfstmo_drago03 [--bias <val>] [--verbose] [--help]

πŸ’– DESCRIPTION πŸ’–

So like, this command implements the adaptive logarithmic tone mapping operator, exactly as described in this paper right here, no cap:

Adaptive logarithmic mapping for displaying high contrast scenes. F. Drago, K. Myszkowski, T. Annen, and N. Chiba. In Eurographics 2003.

And heads up, bestie, this is the important part: according to the paper, results of this TMO require gamma correction. So don't come crying to me when your image looks off β€” go run that gamma correction, periodt. ✨


πŸ‘‘ OPTIONS πŸ‘‘

  • --bias <val>, -b <val> β€” the bias value, and it lives within the range 0..1. Default value: 0.85. Slay. πŸ“
  • --verbose β€” prints additional information during program execution, so you can watch it do its little thing in real time πŸ™ˆ
  • --help β€” prints the list of commandline options. iconic behaviour, honestly.

🌸 EXAMPLES 🌸

pfsin memorial.hdr | pfstmo_drago03 -b 0.8 | pfsgamma -g 1.7 | pfsout
memorial.png

Tone map the image, apply gamma correction, and save it in png format. A full pipeline, a full glow-up, we love to see it πŸ’…βœ¨


πŸ”₯ SEE ALSO πŸ”₯

pfsgamma(1) pfsin(1) pfsout(1) pfsview(1)

go read those too, they're literally the rest of the friend group 🫢


πŸ’€ BUGS πŸ’€

Please report bugs and comments on implementation to Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>. Be nice, be specific, be a good citizen 🧚


and that's the whole page, bestie β€” brought to you by pfstmo_drago03(1) from the General Commands Manual (the footer's got no date on it, so no calendar moment today, sorry 😭). mwah, go tone map something gorgeous πŸ’œ