X-Git-Url: http://git.euphorik.ch/?p=master-thesis.git;a=blobdiff_plain;f=Parasitemia%2FParasitemiaCore%2FConfig.fs;h=b721b70a7ae8efb6f8f80be864d954a543155de7;hp=9724d9ca926eb07a1da74e40677a506db7ed8357;hb=bb642da712542095d8c5ead2d0d036470eb040b9;hpb=e588f9c954a54cb259b2c1f6f9e8d9dbd4639269 diff --git a/Parasitemia/ParasitemiaCore/Config.fs b/Parasitemia/ParasitemiaCore/Config.fs index 9724d9c..b721b70 100644 --- a/Parasitemia/ParasitemiaCore/Config.fs +++ b/Parasitemia/ParasitemiaCore/Config.fs @@ -24,7 +24,9 @@ type Parameters = { LPFStandardDeviationRBC: float<μm> // Ellipse. - factorNbPick: float // The number of computed ellipse per edge pixel. + nbPickElementsMin: int + factorNbValidPick: float // The number of computed ellipse per edge pixel. + factorNbMaxPick: float // Parasites detection. darkStainLevel: float // Lower -> more sensitive. Careful about illumination on the borders. @@ -42,20 +44,22 @@ type Parameters = { minimumCellAreaFactor: float32 } // Factor of the mean RBC area. A cell with an area below this will be rejected. let defaultParameters = { - rbcDiameter = 8.<μm> - resolution = 220.e3 // 220.e3 Correspond to 50X. + rbcDiameter = 7.5<μm> + resolution = 230.e3 // 230.e3 Correspond to 50X. ratioAreaPaleCenter = 2.f / 5.f // The ratio between an RBC area and the area of the its pale center. granulometryRange = 0.5f - minRbcRadius = -0.3f - maxRbcRadius = 0.3f + minRbcRadius = -0.23f + maxRbcRadius = 0.23f LPFStandardDeviationParasite = 0.15<μm> - LPFStandardDeviationRBC = 0.2<μm> + LPFStandardDeviationRBC = 0.22<μm> - factorNbPick = 1.0 + nbPickElementsMin = 10 + factorNbValidPick = 0.05 //1.0 + factorNbMaxPick = 2. darkStainLevel = 0.25 maxDarkStainRatio = 0.1 // 10 %