Image::Compare::THRESHOLD_COUNT - Count the number of pixel pairs in two images that differ by more than a given threshold.
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.
Calls the superclass accumulate to determine if a given pair of pixels are within the disance threshold or not. If they are not, increments a counter.
Returns the count of pixels pairs whose difference exceeded the threshold.
Sets up the collection variable for the count to be returned.
Copyright 2008 Avi Finkel <email@example.com>
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)