* Remove the 'DoG' filter.
[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 preFilterSigma: float
16
17 // Ellipse.
18 factorNbPick: float
19 factorWindowSize: float // factor of 'maxRBCSize'.
20
21 // Parasites detection.
22 darkStainLevel: float
23
24 stainSigma: float
25 stainLevel: float
26 stainSpreadRequired: float
27
28 infectionSigma: float
29 infectionLevel: float
30 infectionPixelsRequired: int
31
32 percentageOfFgValidCell: float
33
34 MaxDarkStainRatio: float
35
36 minimumCellArea: int
37 maxOffcenter: float
38 }