class Statistics – Statistics Object¶
The statistics object is an attrtuple returned by histogram.get_statistics()
or Image.get_statistics().
Grayscale statistics have one channel; use the non l_*, a_*, b_*
fields. RGB565 statistics use the l_*, a_*, and b_* fields.
Fields are accessible by name (statistics.mean) or by index
(statistics[0]). It has no public constructor.
- class image.statistics¶
Please call
histogram.get_statistics()orImage.get_statistics()to create this object.- l_stdev() int¶
Returns the RGB565 LAB L standard deviation (0 - 100). Also accessible as
statistics[11].
- a_stdev() int¶
Returns the RGB565 LAB A standard deviation (-128 - 127). Also accessible as
statistics[19].
- a_lq() int¶
Returns the RGB565 LAB A lower quartile (-128 - 127). Also accessible as
statistics[22].
- a_uq() int¶
Returns the RGB565 LAB A upper quartile (-128 - 127). Also accessible as
statistics[23].
- b_stdev() int¶
Returns the RGB565 LAB B standard deviation (-128 - 127). Also accessible as
statistics[27].