HomeImagickImagickDrawImagickPixelImagick Pixel IteratorImagick KernelDevelopmentTutorial Source codeReport an issue
Category
Example

Get image channel statistics

← getCopyright   getImageCompression →
Returns statistics for each channel in the image. The statistics include the channel depth, its minima and maxima, the mean, and the standard deviation.
meanminimamaximastandardDeviationdepth
035639.800.0065535.0016431.258.00
Red28435.240.0065278.0017602.958.00
Green23727.520.0065535.0020191.878.00
30.001.80e+308-1.80e+3080.001.00
Blue0.001.80e+308-1.80e+3080.001.00
50.001.80e+308-1.80e+3080.001.00
60.001.80e+308-1.80e+3080.001.00
70.001.80e+308-1.80e+3080.001.00
Black/index0.001.80e+308-1.80e+3080.001.00