Config(
{
initialAreaOpen = 2000
+ ratioSecondAreaOpen = 1.f / 3.f
minRbcRadius = -0.3f
maxRbcRadius = 0.3f
maxStainRatio = 0.12 // 12 %
standardDeviationMaxRatio = 0.5 // 0.55
- minimumCellArea = 0.5f })
+ minimumCellAreaFactor = 0.5f })
match mode with
| CmdLine (input, output) ->
Utils.logTime "Whole analyze" (fun () ->
- let results = ImageAnalysis.doMultipleAnalysis images config
+ let results = ImageAnalysis.doMultipleAnalysis images config None
- for id, cells in results do
+ for id, _, cells in results do
let total, infected = Utils.countCells cells
fprintf resultFile "File: %s %d %d %.2f\n" id total infected (100. * (float infected) / (float total)))