/usr/share/doc/python-imaging/html/imagestat.htm is in python-imaging-doc-html 1.1.2-1.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | <html><head><title>The ImageStat Module</title><link rel="stylesheet" type="text/css" href="effbot.css" /></head><body><div id="IMAGESTAT-MODULE" class="chapter"><h1 style="chapter">The ImageStat Module</h1><p>This module calculates global statistics for an image, or a region of
an image.</p><div class="sect1"><h2 style="sect1">Functions</h2><div class="sect2"><h3 style="sect2">Stat (class)</h3><p><tt>Stat(image [,mask])</tt>. Calculates statistics for
the give image. If a mask is included, only the regions covered by
that mask are included in the statistics.</p><p><tt>Stat(list)</tt>. Same, but calculates statistics for a
previously calculated histogram.</p></div></div><div class="sect1"><h2 style="sect1">Attributes</h2><p>The following attributes contain a sequence with one element for each
layer in the image. All attributes are lazily evaluated; if you don't
need a value, it won't be calculated.</p><div class="sect2"><h3 style="sect2">extrema</h3><p><tt>extrema</tt> (attribute). Get min/max values for each
band in the image.</p></div><div class="sect2"><h3 style="sect2">count</h3><p><tt>count</tt> (attribute). Get total number of pixels.</p></div><div class="sect2"><h3 style="sect2">sum</h3><p><tt>sum</tt> (attribute). Get sum of all pixels.</p></div><div class="sect2"><h3 style="sect2">sum2</h3><p><tt>sum2</tt> (attribute). Squared sum of all pixels.</p></div><div class="sect2"><h3 style="sect2">mean</h3><p><tt>mean</tt> (attribute). Average pixel level.</p></div><div class="sect2"><h3 style="sect2">median</h3><p><tt>median</tt> (attribute). Median pixel level.</p></div><div class="sect2"><h3 style="sect2">rms</h3><p><tt>rms</tt> (attribute). RMS (root-mean-square).</p></div><div class="sect2"><h3 style="sect2">var</h3><p><tt>var</tt> (attribute). Variance.</p></div><div class="sect2"><h3 style="sect2">stddev</h3><p><tt>stddev</tt> (attribute). Standard deviation.</p></div></div></div></body></html>
|