Fix ImageStat.mean docs

The docs referred to `ImageStat.pixel`, which isn't a thing at all.

In addition, make it absolutely clear that all of the attributes return per-band data.
This commit is contained in:
Aarni Koskela 2014-07-15 00:44:12 +03:00
parent f0fa458ca8
commit 42032b3286

View File

@ -22,32 +22,32 @@ for a region of an image.
.. py:attribute:: count
Total number of pixels.
Total number of pixels for each band in the image.
.. py:attribute:: sum
Sum of all pixels.
Sum of all pixels for each band in the image.
.. py:attribute:: sum2
Squared sum of all pixels.
Squared sum of all pixels for each band in the image.
.. py:attribute:: pixel
.. py:attribute:: mean
Average pixel level.
Average (arithmetic mean) pixel level for each band in the image.
.. py:attribute:: median
Median pixel level.
Median pixel level for each band in the image.
.. py:attribute:: rms
RMS (root-mean-square).
RMS (root-mean-square) for each band in the image.
.. py:attribute:: var
Variance.
Variance for each band in the image.
.. py:attribute:: stddev
Standard deviation.
Standard deviation for each band in the image.