Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Side by Side Diff: files/source/CompareArgs.h

Issue 89059: add ignore edge function in pdiff. SVN Base: http://o3d.googlecode.com/svn/trunk/googleclient/third_party/pdiff/
Patch Set: '' Created 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 Comapre Args 2 Comapre Args
3 Copyright (C) 2006 Yangli Hector Yee 3 Copyright (C) 2006 Yangli Hector Yee
4 4
5 This program is free software; you can redistribute it and/or modify it under th e terms of the 5 This program is free software; you can redistribute it and/or modify it under th e terms of the
6 GNU General Public License as published by the Free Software Foundation; either version 2 of the License, 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. 7 or (at your option) any later version.
8 8
9 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 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. 10 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(...skipping 17 matching lines...) Expand all
28 CompareArgs(); 28 CompareArgs();
29 ~CompareArgs(); 29 ~CompareArgs();
30 bool Parse_Args(int argc, char **argv); 30 bool Parse_Args(int argc, char **argv);
31 void Print_Args(); 31 void Print_Args();
32 32
33 RGBAImage *ImgA; // Image A 33 RGBAImage *ImgA; // Image A
34 RGBAImage *ImgB; // Image B 34 RGBAImage *ImgB; // Image B
35 RGBAImage *ImgDiff; // Diff image 35 RGBAImage *ImgDiff; // Diff image
36 bool Verbose; // Print lots of text or not 36 bool Verbose; // Print lots of text or not
37 bool LuminanceOnly; // Only consider luminan ce; ignore chroma channels in the comparison. 37 bool LuminanceOnly; // Only consider luminan ce; ignore chroma channels in the comparison.
38 bool IgnoreEdge; // ignore edge in compar ison
39 int EdgeNeighborNum; // degree to eliminate e dges
38 float FieldOfView; // Field of view in degr ees 40 float FieldOfView; // Field of view in degr ees
39 float Gamma; // The gamma to convert to linear color space 41 float Gamma; // The gamma to convert to linear color space
40 float Luminance; // the display's luminance 42 float Luminance; // the display's luminance
41 unsigned int ThresholdPixels; // How many pixels different to ignore 43 unsigned int ThresholdPixels; // How many pixels different to ignore
42 std::string ErrorStr; // Error string 44 std::string ErrorStr; // Error string
43 // How much color to use in the metric. 45 // How much color to use in the metric.
44 // 0.0 is the same as LuminanceOnly = true, 46 // 0.0 is the same as LuminanceOnly = true,
45 // 1.0 means full strength. 47 // 1.0 means full strength.
46 float ColorFactor; 48 float ColorFactor;
47 // How much to down sample image before comparing, in powers of 2. 49 // How much to down sample image before comparing, in powers of 2.
48 int DownSample; 50 int DownSample;
49 }; 51 };
50 52
51 #endif 53 #endif
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r497