pfsstat(1)
โจ pfsstat โ it's giving statistics, bestie โจ
okay so real talk: pfsstat is a lil command from the General Commands Manual, section 1, and it does exactly one thing and does it gorgeously. It's pfsstat, and it shows you frame / image statistics. That's it. That's the whole vibe. ๐
๐ธ SYNOPSIS ๐ธ
pfsstat
no flags. no options. no arguments. she just exists. main character energy fr fr. ๐
๐ DESCRIPTION ๐
So here's the tea โ โ this command shows a short text statistic on each image in the pfs stream. One image at a time, stats on stats on stats. And in those statistics you're gonna find:
- File โ name of the input file ๐
- Width, Height โ image dimensions ๐
- Minimum โ minimum luminance of an image(<span style="color:red">*</span>), given in linear units (relative luminance in
cd/m^2) and logarithmic units - Maximum โ maximum luminance of an image(<span style="color:red">*</span>)
- Average โ average luminance of an image(<span style="color:red">*</span>)
- Mean โ mean luminance of an image(<span style="color:red">*</span>)
(<span style="color:red">*</span>) okay bestie, this footnote is important, don't skip it ๐ โ before min, max, average, median and dynamic range is computed, the following processing is performed on an image:
- negative and zero values are replaced with the smallest positive value (to compute logarithms); ๐งฎ
- the image is low-pass filtered. ๐
The low-pass filtering removes few very dark or very bright pixels that can significantly influence estimation of the dynamic range. The percentile, instead of a low-pass filter, is sometimes used for the same purpose. However, a low-pass filter is preferred to the percentile in pfstools since, taking into account the processing that is happening in the human visual system, low-frequency band filter is more plausible. ๐ง โจ
โ ๏ธ Note: This command requires GNU Octave. like, actually requires it. no Octave, no stats, no slay. ๐ญ
๐ EXAMPLES ๐
pfsin memorial.hdr | pfsstat
Show statistics for the memorial image. iconic pipeline behavior, lowkey the moment. ๐ซถ
๐ BUGS ๐
Please report bugs and comments to Rafal Mantiuk <mantiuk@mpi-sb.mpg.de>. he's the one who needs to hear about it, not me, I'm just the messenger ๐ง
and that's the whole page, bestie!! ๐ written for the General Commands Manual, pfsstat(1), and there's no date stamped on this footer so we're just gonna say it's giving timeless. ๐ go forth and get those luminance numbers. periodt. ๐
๐ฆ where this page comes from
- debian bookworm: pfstools 2.2.0-5+b1 ยท GPL-2.0-or-later
- debian trixie: pfstools 2.2.0-9 ยท GPL-2.0-or-later
- fedora 43: pfstools-octave 2.2.0-23.fc43 ยท GPL-2.0-or-later
- fedora 44: pfstools-octave 2.2.0-25.fc44 ยท GPL-2.0-or-later
- opensuse-leap 16.0: pfstools-octave 2.2.0-bp160.1.20 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstools-octave 2.2.0-bp160.1.20 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstools-octave 2.2.0-bp160.1.20 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstools-octave 2.2.0-bp160.1.20 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu jammy: pfstools 2.2.0-2 ยท GPL-2.0-or-later
- ubuntu noble: pfstools 2.2.0-7build3 ยท GPL-2.0-or-later
- ubuntu questing: pfstools 2.2.0-9
- ubuntu resolute: pfstools 2.2.0-10 ยท GPL-2.0-or-later
- ubuntu stonking: pfstools 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