type Parameters = {
scale: float
+ initialAreaOpen: int
+
minRbcRadius: float
maxRbcRadius: float
maxDarkStainRatio: float
stainArea: float // Factor of a RBC area. 0.5 means the half of RBC area.
- stainLevel: float // [0, 2]
+ 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, 2]
- parasitePixelsRequired: int
+ infectionLevel: float // > 1
standardDeviationMaxRatio: float // The standard deviation of the pixel values of a cell can't be greater than standardDeviationMaxRatio * global standard deviation
- minimumCellArea: float // Factor of RBC area.
+ minimumCellArea: float // Factor of the nominal RBC area.
}
type Config (param: Parameters) =