Imagick
PHP Manual

Imagick::segmentImage

(No version information available, might only be in Git)

Imagick::segmentImageSegments an image

Descrizione

public bool Imagick::segmentImage ( int $COLORSPACE , float $cluster_threshold , float $smooth_threshold [, bool $verbose = false ] )

Analyses the image and identifies units that are similar. Questo metodo è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.5 o successive.

Elenco dei parametri

COLORSPACE

One of the COLORSPACE constants.

cluster_threshold

A percentage describing minimum number of pixels contained in hexedra before it is considered valid.

smooth_threshold

Eliminates noise from the histogram.

verbose

Whether to output detailed information about recognised classes.

Valori restituiti


Imagick
PHP Manual