« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for colorChannel (0.000 sec.)
Imagick::getImageHistogram — 画像のヒストグラムを取得する | PHP 8.3 9414
Imagick::getImageHistogram (PECL imagick 2, PECL imagick 3) Imagick::getImageHistogram — 画像のヒストグラムを取得する 説明 public function Imagick::getImageHistogram (): array 画像のヒストグラムを ImagickPixel オブジェクトの配列で返します。 ... n をスローします。 例 例1 Generates Imagick::getImageHistogram() <?php function getColorStatistics ( $histogramElements , $colorChannel ) { $colorStatistics = []; foreach ( $histogramElements as $histogramElement ) { $color = $histogramElement -> getColorVal ... ue ( $colorChannel ); $color = intval ( $color * 255 ); $count = $histogramElement -> getColorCount (); if ( array_key_exists ( $color , $col ...
https://man.mtool.work/php/8.3/imagick.getimagehistogram.html
PREV 1 NEXT