Php/docs/imagick.getimagechannelkurtosis

来自菜鸟教程
跳转至:导航、​搜索

Imagick::getImageChannelKurtosis

(PECL imagick 2 >= 2.3.0, PECL imagick 3)

Imagick::getImageChannelKurtosisThe getImageChannelKurtosis purpose


说明

public Imagick::getImageChannelKurtosis ([ int $channel = Imagick::CHANNEL_DEFAULT ] ) : array

Get the kurtosis and skewness of a specific channel. 此方法在Imagick基于ImageMagick 6.4.9以上版本编译时可用。


参数

channel
Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. 缺省为Imagick::CHANNEL_DEFAULT. 参考此 通道常数列表


返回值

Returns an array with kurtosis and skewness members.


错误/异常

错误时抛出 ImagickException。