X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=Parasitemia%2FParasitemiaCore%2FConfig.fs;h=81591736a782d9147a9ec1f723274f1d3fc8d434;hb=1b8e45987bde692ab5602c281f878707f70459b7;hp=21a36f98152cbbc0393f6e54d84ddb7dd421c0e7;hpb=000e7091983f20ef75d0eba9bf1c865c76483f24;p=master-thesis.git diff --git a/Parasitemia/ParasitemiaCore/Config.fs b/Parasitemia/ParasitemiaCore/Config.fs index 21a36f9..8159173 100644 --- a/Parasitemia/ParasitemiaCore/Config.fs +++ b/Parasitemia/ParasitemiaCore/Config.fs @@ -41,7 +41,7 @@ type Parameters = { 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 + // [] 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 = { @@ -62,7 +62,7 @@ let defaultParameters = { factorNbValidPick = 0.06 //1.0 factorNbMaxPick = 4. - darkStainLevel = 1.1 + darkStainLevel = 1. maxDarkStainRatio = 0.1 // 10 % parasiteRadiusRatio = 0.5f // 50 % @@ -74,7 +74,7 @@ let defaultParameters = { nucleusAreaRatio = 0.01f // 1.0 % infectionSensitivity = 0.92 - standardDeviationMaxRatio = 0.6 + // standardDeviationMaxRatio = 0.6 // Obsolete. minimumCellAreaFactor = 0.4f } type RBCRadius (radius: float32, parameters: Parameters) =