- let config =
- Config(
- { scale = 1.
-
- initialAreaOpen = 2000
-
- minRbcRadius = -0.32f
- maxRbcRadius = 0.32f
-
- preFilterSigma = 1.7 // 1.5
-
- factorNbPick = 1.0
-
- darkStainLevel = 0.22 // Lower -> more sensitive. 0.3. Careful about illumination on the borders.
- maxDarkStainRatio = 0.1 // 10 %
-
- infectionArea = 0.012f // 1.2 %
- infectionLevel = 1.12 // Lower -> more sensitive.
-
- stainArea = 0.08f // 8 %
- stainLevel = 1.1 // Lower -> more sensitive.
- maxStainRatio = 0.12 // 12 %
-
- standardDeviationMaxRatio = 0.5 // 0.55
- minimumCellArea = 0.5f })