* Remove the 'DoG' filter.
[master-thesis.git] / Parasitemia / Parasitemia / Config.fs
index 75aa95f..48a6334 100644 (file)
@@ -1,11 +1,22 @@
 module Config
 
+type Debug =
+    | DebugOff
+    | DebugOn of string // Output directory.
+
 type Config = {
+    debug: Debug
+
     scale: float
 
-    doGSigma1: float
-    doGSigma2: float
-    doGLowFreqPercentageReduction: float
+    minRBCSize: float
+    maxRBCSize: float
+
+    preFilterSigma: float
+
+    // Ellipse.
+    factorNbPick: float
+    factorWindowSize: float // factor of 'maxRBCSize'.
 
     // Parasites detection.
     darkStainLevel: float
@@ -13,8 +24,15 @@ type Config = {
     stainSigma: float
     stainLevel: float
     stainSpreadRequired: float
-    
+
     infectionSigma: float
     infectionLevel: float
     infectionPixelsRequired: int
+
+    percentageOfFgValidCell: float
+
+    MaxDarkStainRatio: float
+
+    minimumCellArea: int
+    maxOffcenter: float
 }
\ No newline at end of file