d_fg: Image<Gray, float32> } // Euclidean distances of the foreground to median_fg.
let kmedians (img: Image<Gray, float32>) : Result =
d_fg: Image<Gray, float32> } // Euclidean distances of the foreground to median_fg.
let kmedians (img: Image<Gray, float32>) : Result =