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 nbIteration = 3
+let kmedians (img: Image<Gray, float32>) : Result =
+ let nbIteration = 4
let w = img.Width
let h = img.Height