Prev
MagickWand For PHP
Manual


Next

MagickGetImageChannelMean

MagickGetImageChannelMean -- returns the mean and standard deviation of one or more image channels

Description

array MagickGetImageChannelMean( MagickWand mgck_wnd, int channel_type )

Returns the mean and standard deviation of one or more image channels. Returns an array if successful, FALSE if an error occurred. Returned array is defined as follows: Array { [0] => the mean pixel value for the specified channel(s) [1] => the standard deviation for the specified channel(s) } channel_type must be a ChannelType constant, one of the following: MW_RedChannel MW_CyanChannel MW_GreenChannel MW_MagentaChannel MW_BlueChannel MW_YellowChannel MW_AlphaChannel MW_OpacityChannel MW_BlackChannel MW_IndexChannel MW_AllChannels


A description of each parameter follows:

mgck_wnd A MagickWand resource
channel_type A ChannelType constant


Prev
MagickGetImageBorderColor
Up Next
MagickGetImageColormapColor