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

FreeBSD Manual Pages

  
 
  

home | help
Image::Compare::IMAGE(User Contributed Perl DocumentatImage::Compare::IMAGE(3)

NAME
       Image::Compare::IMAGE - Compares	two images and creates a third image
       representing their differences.

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
       setup($image1, $image2)
	   Sets	up the image which will	be used	to store the differential
	   data.

       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 saved as
	   color data in the internal picture representation.  This method
	   never short-circuits; when this comparator is used, all pixels are
	   compared, every time.

       get_result()
	   Returns the internal	image.

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.24.1			  2014-12-16	      Image::Compare::IMAGE(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::IMAGE&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help