- factorWindowSize: float // factor of 'maxRBCSize'.
// Parasites detection.
// Parasites detection.
- darkStainLevel: float
+ darkStainLevel: float // Lower -> more sensitive. Careful about illumination on the borders.
+ maxDarkStainRatio: float
- stainArea: float // Factor of a RBC area. 0.5 means the half of RBC area.
- stainLevel: float // [0, 1]
+ stainArea: float32 // Factor of a RBC area. 0.5 means the half of RBC area.
+ stainLevel: float // > 1
+ maxStainRatio: float // [0, 1]
- infectionArea: float // Factor of a RBC area. 0.5 means the half of RBC area.
- infectionLevel: float // [0, 1]
- parasitePixelsRequired: int
+ infectionArea: float32 // Factor of a RBC area. 0.5 means the half of RBC area.
+ infectionLevel: float // > 1
- maxDarkStainRatio: float
-
- minimumCellArea: float // Factor of RBC area.
+ standardDeviationMaxRatio: float // The standard deviation of the pixel values of a cell can't be greater than standardDeviationMaxRatio * global standard deviation
+ minimumCellArea: float32 // Factor of the nominal RBC area.
}
type Config (param: Parameters) =
member this.Parameters = param
member val Debug = DebugOff with get, set
}
type Config (param: Parameters) =
member this.Parameters = param
member val Debug = DebugOff with get, set
- member val RBCRadius = 30. with get, set
+ member val RBCRadius = 30.f with get, set
member this.RBCMinRadius = this.RBCRadius + param.minRbcRadius * this.RBCRadius
member this.RBCMaxRadius = this.RBCRadius + param.maxRbcRadius * this.RBCRadius
member this.RBCMinRadius = this.RBCRadius + param.minRbcRadius * this.RBCRadius
member this.RBCMaxRadius = this.RBCRadius + param.maxRbcRadius * this.RBCRadius