Cleaning and some little tweaks.
[master-thesis.git] / Parasitemia / ParasitemiaCore / Config.fs
index 4b38483..5e3280c 100644 (file)
@@ -42,18 +42,18 @@ type Parameters = {
     minimumCellAreaFactor: float32 } // Factor of the mean RBC area. A cell with an area below this will be rejected.
 
 let defaultParameters = {
-    rbcDiameter = 8.<μm>
-    resolution = 220.e3<ppi> // 220.e3<ppi> Correspond to 50X.
+    rbcDiameter = 7.5<μm>
+    resolution = 230.e3<ppi> // 230.e3<ppi> Correspond to 50X.
 
     ratioAreaPaleCenter = 2.f / 5.f // The ratio between an RBC area and the area of the its pale center.
 
     granulometryRange = 0.5f
 
-    minRbcRadius = -0.3f
-    maxRbcRadius = 0.3f
+    minRbcRadius = -0.23f
+    maxRbcRadius = 0.23f
 
     LPFStandardDeviationParasite = 0.15<μm>
-    LPFStandardDeviationRBC = 0.2<μm>
+    LPFStandardDeviationRBC = 0.22<μm>
 
     factorNbPick = 1.0
 
@@ -66,9 +66,9 @@ let defaultParameters = {
     cytoplasmSensitivity = 0.96
 
     nucleusAreaRatio = 0.01f // 1.0 %
-    infectionSensitivity = 0.9
+    infectionSensitivity = 0.92
 
-    standardDeviationMaxRatio = 0.5
+    standardDeviationMaxRatio = 0.6
     minimumCellAreaFactor = 0.4f }
 
 type RBCRadius (radius: float32, parameters: Parameters) =