From: Greg Burri Date: Sat, 30 Jan 2016 00:15:39 +0000 (+0100) Subject: Increase a bit the number of built ellipses. X-Git-Tag: 1.0.11~23 X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=9a025e7d947ffbe097eb844f3214fbc95e134f7c;p=master-thesis.git Increase a bit the number of built ellipses. --- diff --git a/Parasitemia/ParasitemiaCore/Config.fs b/Parasitemia/ParasitemiaCore/Config.fs index b721b70..67b9ce3 100644 --- a/Parasitemia/ParasitemiaCore/Config.fs +++ b/Parasitemia/ParasitemiaCore/Config.fs @@ -58,7 +58,7 @@ let defaultParameters = { LPFStandardDeviationRBC = 0.22<μm> nbPickElementsMin = 10 - factorNbValidPick = 0.05 //1.0 + factorNbValidPick = 0.06 //1.0 factorNbMaxPick = 2. darkStainLevel = 0.25 diff --git a/Parasitemia/ParasitemiaCore/MatchingEllipses.fs b/Parasitemia/ParasitemiaCore/MatchingEllipses.fs index bfa042b..f028e90 100644 --- a/Parasitemia/ParasitemiaCore/MatchingEllipses.fs +++ b/Parasitemia/ParasitemiaCore/MatchingEllipses.fs @@ -10,10 +10,10 @@ open Types open Utils // All ellipses with a score below this are removed. -let matchingScoreThresholdPerRadiusUnit = 0.02f // For a radius of 1. +let matchingScoreThresholdPerRadiusUnit = 0.025f // For a radius of 1. let matchingScorePower = 20.f let windowSizeRadiusFactor = 1.f / 2.f -let minimumDistanceFromCenterRadiusFactor = 1.f / 3.f // 1.f / 3.f +let minimumDistanceFromCenterRadiusFactor = 1.f / 4.f type private EllipseScoreFlaggedKd (matchingScore: float32, e: Ellipse) = let mutable matchingScore = matchingScore