X-Git-Url: http://git.euphorik.ch/?p=master-thesis.git;a=blobdiff_plain;f=Parasitemia%2FParasitemia%2FConfig.fs;h=7f841c4402140cca42737b4512ef34aabda5438a;hp=5cf392c85b7e65c684c19a3c91071bf8857d3d43;hb=962440dfe579569ba7e3ebba6f878cb575d1fc02;hpb=785a7ea4885e87d76f0b1fb1c715230a08389558 diff --git a/Parasitemia/Parasitemia/Config.fs b/Parasitemia/Parasitemia/Config.fs index 5cf392c..7f841c4 100644 --- a/Parasitemia/Parasitemia/Config.fs +++ b/Parasitemia/Parasitemia/Config.fs @@ -9,6 +9,8 @@ type Debug = type Parameters = { scale: float + initialAreaOpen: int + minRbcRadius: float maxRbcRadius: float @@ -23,15 +25,14 @@ type Parameters = { 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) =