PHP » GoLang |
login |
register |
about
|
GoLang Imagick::subImageMatch
request it (313)
GoLang replacement for PHP's Imagick::subImageMatch
[edit | history]
Imagick::subImageMatch(No version information available, might only be in Git) Imagick::subImageMatch — Description Description
public Imagick Imagick::subImageMatch
( Imagick
$Imagick
[, array &$offset
[, float &$similarity
]] )Searches for a subimage in the current image and returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between. You can also pass in the optional parameters bestMatch and similarity. After calling the function similarity will be set to the 'score' of the similarity between the subimage and the matching position in the larger image, bestMatch will contain an associative array with elements x, y, width, height that describe the matching region. Parameters
Return Values
Examples
Example #1 Imagick::subImageMatch()
<?php |
more
Recently updated
more
Most requested
more
Last requests
|