Split the module 'ImgTools' in many modules.
[master-thesis.git] / Parasitemia / ParasitemiaCore / Granulometry.fs
index 0afe5cc..b325534 100644 (file)
@@ -71,7 +71,7 @@ let findRadiusByAreaClosing (img: Image<Gray, float32>) (radiusRange: int * int)
     let mutable maxDiff = 0.f
     let mutable max_r = r1
 
-    ImgTools.areaCloseFWithFun imgCopy [ for r in r1 .. r2 -> Math.PI * float r ** 2. |> roundInt, r ] (fun r diff ->
+    Morpho.areaCloseFWithFun imgCopy [ for r in r1 .. r2 -> Math.PI * float r ** 2. |> roundInt, r ] (fun r diff ->
         if r <> r1 && diff > maxDiff
         then
             maxDiff <- diff