The ImageStat module calculates global statistics for an image, or for a region of an image.
Calculate statistics for the given image. If a mask is included, only the regions covered by that mask are included in the statistics. You can also pass in a previously calculated histogram.
参数: |
|
---|
Min/max values for each band in the image.
Total number of pixels.
Sum of all pixels.
Squared sum of all pixels.
Average pixel level.
Median pixel level.
RMS (root-mean-square).
Variance.
Standard deviation.