Change language

PHP Imagick getImageChannelKurtosis () Function

Syntax:
array Imagick::getImageChannelKurtosis (int $channel)
Parameters:This function takes one parameter, $channel,which is used to specify a channel constant valid for your channel mode. You can combine channel type constants using bitwise operators if you want to apply to more than one channel. The default is Imagick::CHANNEL_DEFAULT.Exceptions:This function throws an ImagickException on error.Return Value:this the function returns an array with kurtosis and skewness elements.The following programs illustrate the Imagick::getImageChannelKurtosis() functionin PHP:Program 1:  
// Create two new imagick objects $imagick1 = new Imagick ( https://media.engineerforengineer.org/wp- cont ent / uploads / engineerforengineer-13.png
);  
// We get Kurtos and asymmetry $kurtosis = $imagick1 -> getImageChannelKurtosis(); print_r ( $kurtosis ); ?>
Output:
Array ([kurtosis] = > 3.4855489191387 [skewness] = > -2.2453954888518)
Program 2:  
// Create new imagick object $imagick = new Imagick ( https://media.engineerforengineer.org/wp-content/uploads/20190918234528/colorize1.png );  
// Get Kurtosis and Skewness with constant CHANNEL as 6
// which corresponds to imagick::CHANNEL_BLUE $kurtosis = $imagick -> getImageChannelKurtosis (6); print_r ( $kurtosis ); ?>
Output:
Array ([kurtosis] = > 17.803640811167 [skewness] = > -4.0753636831512)
Link: https://www.php.net/manual/en/imagick.getimagechannelkurtosis.php

Shop

Best laptop for Sims 4

$

Best laptop for Zoom

$499

Best laptop for Minecraft

$590

Best laptop for engineering student

$

Best laptop for development

$

Best laptop for Cricut Maker

$

Best laptop for hacking

$890

Best laptop for Machine Learning

$950

Latest questions

NUMPYNUMPY

psycopg2: insert multiple rows with one query

12 answers

NUMPYNUMPY

How to convert Nonetype to int or string?

12 answers

NUMPYNUMPY

How to specify multiple return types using type-hints

12 answers

NUMPYNUMPY

Javascript Error: IPython is not defined in JupyterLab

12 answers

Wiki

Python OpenCV | cv2.putText () method

numpy.arctan2 () in Python

Python | os.path.realpath () method

Python OpenCV | cv2.circle () method

Python OpenCV cv2.cvtColor () method

Python - Move item to the end of the list

time.perf_counter () function in Python

Check if one list is a subset of another in Python

Python os.path.join () method