nucleusAreaRatio: float32 // Factor of a RBC area. 0.5 means the half of RBC area.
infectionSensitivity: float // between 0 (the least sensitive) and 1 (the most sensitive).
- standardDeviationMaxRatio: float // The standard deviation of the pixel values of a cell can't be greater than standardDeviationMaxRatio * global standard deviation
+ // [<Obsolete>] standardDeviationMaxRatio: float // The standard deviation of the pixel values of a cell can't be greater than standardDeviationMaxRatio * global standard deviation
minimumCellAreaFactor: float32 } // Factor of the mean RBC area. A cell with an area below this will be rejected.
let defaultParameters = {
factorNbValidPick = 0.06 //1.0
factorNbMaxPick = 4.
- darkStainLevel = 1.1
+ darkStainLevel = 1.
maxDarkStainRatio = 0.1 // 10 %
parasiteRadiusRatio = 0.5f // 50 %
nucleusAreaRatio = 0.01f // 1.0 %
infectionSensitivity = 0.92
- standardDeviationMaxRatio = 0.6
+ // standardDeviationMaxRatio = 0.6 // Obsolete.
minimumCellAreaFactor = 0.4f }
type RBCRadius (radius: float32, parameters: Parameters) =