Use float32 to reduce memory footprint.
[master-thesis.git] / Parasitemia / Parasitemia / KMedians.fs
index 8a3fd2b..f7f2e54 100644 (file)
@@ -12,7 +12,7 @@ type Result = {
     median_fg: float
     d_fg: Image<Gray, float32> } // Euclidean distances of the foreground to median_fg.
 
-let kmedians (img: Image<Gray, float32>) (fgFactor: float) : Result =
+let kmedians (img: Image<Gray, float32>) : Result =
     let nbIteration = 3
     let w = img.Width
     let h = img.Height