More homogeneous ellipse density.
[master-thesis.git] / Parasitemia / ParasitemiaCore / Config.fs
index 5e3280c..b721b70 100644 (file)
@@ -24,7 +24,9 @@ type Parameters = {
     LPFStandardDeviationRBC: float<μm>
 
     // Ellipse.
-    factorNbPick: float // The number of computed ellipse per edge pixel.
+    nbPickElementsMin: int
+    factorNbValidPick: float // The number of computed ellipse per edge pixel.
+    factorNbMaxPick: float
 
     // Parasites detection.
     darkStainLevel: float // Lower -> more sensitive. Careful about illumination on the borders.
@@ -55,7 +57,9 @@ let defaultParameters = {
     LPFStandardDeviationParasite = 0.15<μm>
     LPFStandardDeviationRBC = 0.22<μm>
 
-    factorNbPick = 1.0
+    nbPickElementsMin = 10
+    factorNbValidPick = 0.05 //1.0
+    factorNbMaxPick = 2.
 
     darkStainLevel = 0.25
     maxDarkStainRatio = 0.1 // 10 %