Change the way the parasites are detected.
[master-thesis.git] / Parasitemia / Parasitemia / Config.fs
index 3e3a06c..5cf392c 100644 (file)
@@ -23,11 +23,11 @@ type Parameters = {
     maxDarkStainRatio: float
 
     stainArea: float // Factor of a RBC area. 0.5 means the half of RBC area.
-    stainLevel: float // [0, 1]
+    stainLevel: float // [0, 2]
     maxStainRatio: float // [0, 1]
 
     infectionArea: float // Factor of a RBC area. 0.5 means the half of RBC area.
-    infectionLevel: float // [0, 1]
+    infectionLevel: float // [0, 2]
     parasitePixelsRequired: int
 
     standardDeviationMaxRatio: float // The standard deviation of the pixel values of a cell can't be greater than standardDeviationMaxRatio * global standard deviation