GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  IMAGE::COMPARE::THRESHOLD_COUNT (3)

.ds Aq ’

NAME

Image::Compare::THRESHOLD_COUNT - Count the number of pixel pairs in two images that differ by more than a given threshold.

CONTENTS

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) 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.
get_result() Returns the count of pixels pairs whose difference exceeded the threshold.
setup($img1, $img2) Sets up the collection variable for the count to be returned.

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)

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 IMAGE::COMPARE::THRESHOLD_COUNT (3) 2014-12-16

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.