Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Image::Compare::AVG_THUserOContributed Perl DoImage::Compare::AVG_THRESHOLD(3)

NAME
       Image::Compare::AVG_THRESHOLD - Compare two images by the overall
       average color difference	of their pixels.

OVERVIEW
       See the docs for	Image::Compare for details on how to use this module.
       Further documentation is	meant for those	modifying or subclassing this
       comparator.  See	the documentation in Image::Compare::Comparator	for
       general information about making	your own comparator subclasses.

METHODS
       accumulate(\@pixel1, \@pixel2, $x, $y)
	   This	method is called for each pixel	in the two images to be
	   compared.  The difference between each pair of pictures is
	   collected and stored	for later use by get_result().	This method
	   never short-circuits; when this comparator is used, all pixels are
	   compared, every time.

       $cmp->get_result()
	   Returns either the median or	the arithmetic mean of the values
	   collected by	accumulate(), depending	on the average type provided
	   when	this object was	constructed.

AUTHOR
       Copyright 2008 Avi Finkel <avi@finkel.org>

       This package is free software and is provided "as is" without express
       or implied warranty.  It	may be used, redistributed and/or modified
       under the terms of the Perl Artistic License (see
       http://www.perl.com/perl/misc/Artistic.html)

perl v5.32.1			  2014-12-16  Image::Compare::AVG_THRESHOLD(3)

NAME | OVERVIEW | METHODS | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Image::Compare::AVG_THRESHOLD&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help