pfstmo_reinhard02(1)

✨ NAME ✨

pfstmo_reinhard02 β€” Photographic Tone Reproduction for Digital Images πŸ’–


🌸 SYNOPSIS 🌸

pfstmo_reinhard02 [--scales] [--key <val>] [--phi <val>] [--range <val>]
[--lower <val>] [--upper <val>] [--temporal-coherent] [--verbose]
[--help]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay bestie, so pfstmo_reinhard02 is a whole tone mapping operator, and it's literally implementing the one from this paper, no cap:

Photographic Tone Reproduction for Digital Images. E. Reinhard, M. Stark, P. Shirley, and J. Ferwerda. In ACM Transactions on Graphics, 2002.

And heads up, this is important β€” according to the paper itself, the results of this TMO require gamma correction. So don't come crying to me when your image looks flat, that's just the vibe it ships with. 😭


πŸ’… OPTIONS πŸ’…

  • --scales β€” bestie this is the local era. Use scales to calculate local adaptation, which means you get the local version of this operator. By default though, the global version is what's running. ✨
  • --key <val> β€” sets the key value for the image (go read the paper for the deets, iykyk). Default value: 0.18, accepted range <0..1>.
  • --phi <val> β€” sets the phi value (paper. details. go). Default value: 1.0, accepted range >=0.0.
  • --range <val> β€” sets the range size (yes, the paper, you know the drill). Default value: 8, accepted range >1.
  • --lower <val> β€” sets the lower scale size (paper!! refer to it!!). Default value: 1, accepted range >=1.
  • --upper <val> β€” sets the upper scale size (again with the paper). Default value: 43, accepted range >=1.
  • --temporal-coherent, -t β€” when you specify this one, tone mapping becomes time coherent for video sequences. Right now the option imposes that the average and maximum luminance value can change at most by 1% between two consecutive frames. Slay, consistency. πŸŽ€
  • --verbose β€” prints additional information while the program is executing. Not me needing the commentary, but okay, love that for us. πŸ™ˆ
  • --help β€” prints the list of commandline options. The classic. The icon. πŸ‘‘

🌈 EXAMPLES 🌈

pfsin memorial.hdr | pfstmo_reinhard02 -s | pfsgamma -g 2.2 | pfsout memorial.png

Tone map the image and save it in png format. Whole pipeline, one line, main character energy. πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

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


πŸ’€ BUGS πŸ’€

Found a bug? Got comments on the implementation? Please report them to Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>. Be nice, be specific, be iconic. 🫢


And that's the whole page, bestie β€” this was pfstmo_reinhard02(1) from the General Commands Manual, mwah. Thanks for reading all the way through, you ate. πŸ’–βœ¨