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

Delta Between Two Patch Sets: files/source/CompareArgs.h

Issue 89059: add ignore edge function in pdiff. SVN Base: http://o3d.googlecode.com/svn/trunk/googleclient/third_party/pdiff/
Left Patch Set: Created 5 months, 1 week ago
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
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» » » EdgeDetect; // ***run edge detection met hod on results to eliminate single pixel edges and scattered points. 38 bool IgnoreEdge; // ignore edge in compar ison
vangelis 2009/06/30 02:35:05 remove the *** to match the style of the rest of t
39 » int» » » EdgeNeighborNum;» // degree to eliminate e dges
39 float FieldOfView; // Field of view in degr ees 40 float FieldOfView; // Field of view in degr ees
40 float Gamma; // The gamma to convert to linear color space 41 float Gamma; // The gamma to convert to linear color space
41 float Luminance; // the display's luminance 42 float Luminance; // the display's luminance
42 unsigned int ThresholdPixels; // How many pixels different to ignore 43 unsigned int ThresholdPixels; // How many pixels different to ignore
43 std::string ErrorStr; // Error string 44 std::string ErrorStr; // Error string
44 // How much color to use in the metric. 45 // How much color to use in the metric.
45 // 0.0 is the same as LuminanceOnly = true, 46 // 0.0 is the same as LuminanceOnly = true,
46 // 1.0 means full strength. 47 // 1.0 means full strength.
47 float ColorFactor; 48 float ColorFactor;
48 // 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.
49 int DownSample; 50 int DownSample;
50 }; 51 };
51 52
52 #endif 53 #endif
LEFTRIGHT

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