~inkscape.dev/inkscape-rendertest/trunk

« back to all changes in this revision

Viewing changes to perceptualdiff-1.1.1-alphamod/Metric.h

  • Committer: Johan B. C. Engelen
  • Date: 2014-11-12 22:14:29 UTC
  • Revision ID: j.b.c.engelen@alumnus.utwente.nl-20141112221429-ml7tzwn300a7qvkn
Add modified PerceptualDiff code (alpha fix)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Metric
 
3
Copyright (C) 2006 Yangli Hector Yee
 
4
 
 
5
This program is free software; you can redistribute it and/or modify it under the terms of the
 
6
GNU General Public License as published by the Free Software Foundation; either version 2 of the License,
 
7
or (at your option) any later version.
 
8
 
 
9
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 
10
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
11
See the GNU General Public License for more details.
 
12
 
 
13
You should have received a copy of the GNU General Public License along with this program;
 
14
if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
15
*/
 
16
 
 
17
#ifndef _METRIC_H
 
18
#define _METRIC_H
 
19
 
 
20
class CompareArgs;
 
21
 
 
22
// Image comparison metric using Yee's method
 
23
// References: A Perceptual Metric for Production Testing, Hector Yee, Journal of Graphics Tools 2004
 
24
bool Yee_Compare(CompareArgs &args);
 
25
 
 
26
#endif
 
27