X-Git-Url: http://git.euphorik.ch/?p=master-thesis.git;a=blobdiff_plain;f=Parasitemia%2FParasitemia%2FConfig.fs;h=7f841c4402140cca42737b4512ef34aabda5438a;hp=3e3a06c11dd2479c116e99f4f2f3739c82cdf7ea;hb=962440dfe579569ba7e3ebba6f878cb575d1fc02;hpb=ca3f764fc93defb480bb9b1c34e9c41447cc07e0 diff --git a/Parasitemia/Parasitemia/Config.fs b/Parasitemia/Parasitemia/Config.fs index 3e3a06c..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, 1] + 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 + 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) =