Cleaning.
[master-thesis.git] / Parasitemia / Parasitemia / Config.fs
index 5cf392c..7f841c4 100644 (file)
@@ -9,6 +9,8 @@ type Debug =
 type Parameters = {
     scale: float
 
+    initialAreaOpen: int
+
     minRbcRadius: float
     maxRbcRadius: float
 
@@ -23,15 +25,14 @@ type Parameters = {
     maxDarkStainRatio: float
 
     stainArea: float // Factor of a RBC area. 0.5 means the half of RBC area.
-    stainLevel: float // [0, 2]
+    stainLevel: float // > 1
     maxStainRatio: float // [0, 1]
 
     infectionArea: float // Factor of a RBC area. 0.5 means the half of RBC area.
-    infectionLevel: float // [0, 2]
-    parasitePixelsRequired: int
+    infectionLevel: float // > 1
 
     standardDeviationMaxRatio: float // The standard deviation of the pixel values of a cell can't be greater than standardDeviationMaxRatio * global standard deviation
-    minimumCellArea: float // Factor of RBC area.
+    minimumCellArea: float // Factor of the nominal RBC area.
 }
 
 type Config (param: Parameters) =