* Remove ellipses with too small area (improved).
[master-thesis.git] / Parasitemia / Parasitemia / Config.fs
1 module Config
2
3 type Debug =
4 | DebugOff
5 | DebugOn of string // Output directory.
6
7 type Config = {
8 debug: Debug
9
10 scale: float
11
12 minRBCSize: float
13 maxRBCSize: float
14
15 doGSigma1: float
16 doGSigma2: float
17 doGLowFreqPercentageReduction: float
18
19 // Ellipse.
20 factorNbPick: float
21 factorWindowSize: float // factor of 'maxRBCSize'.
22
23 // Parasites detection.
24 darkStainLevel: float
25
26 stainSigma: float
27 stainLevel: float
28 stainSpreadRequired: float
29
30 infectionSigma: float
31 infectionLevel: float
32 infectionPixelsRequired: int
33
34 percentageOfFgValidCell: float
35
36 MaxDarkStainRatio: float
37
38 minimumCellArea: int
39 maxOffcenter: float
40 }