diff include/marksheet.h @ 5:3b734fd6ee2b

v0.2
author pyon@macmini
date Thu, 06 Oct 2011 20:27:54 +0900
parents a505f7417742
children
line wrap: on
line diff
--- a/include/marksheet.h	Thu Oct 06 07:56:12 2011 +0900
+++ b/include/marksheet.h	Thu Oct 06 20:27:54 2011 +0900
@@ -1,5 +1,5 @@
 // Filename   : marksheet.h
-// Last Change: 05-Oct-2011.
+// Last Change: 06-Oct-2011.
 //
 #ifndef __MARKSHEET__
 #define __MARKSHEET__
@@ -77,13 +77,13 @@
         if( IsBlack( (int)r, (int)g, (int)b ) ) black++;
     }
     float z = (float)black / h;
-    float zmin = 0.103428 * 0.95;
-    float zmax = 0.103428 * 1.05;
+    float zmin = 0.095713;
+    float zmax = 0.108600;
 
     wxFile f( file );
     long l = f.Length();
-    float lmin = 2181468 * 0.95;
-    float lmax = 2181468 * 1.05;
+    float lmin = 2072393;
+    float lmax = 2346082;
 
     //wxPuts(wxString::Format(wxT("z = %f, len = %d"),z,len));
     if ( zmin < z && z < zmax