Update coding style.
[master-thesis.git] / Parasitemia / ParasitemiaCore / ImgTools / Histogram.fs
index df1ecb6..718a9de 100644 (file)
@@ -20,10 +20,10 @@ let histogramImg (img : Image<Gray, float32>) (nbSamples : int) : Histogram =
 
     let min, max =
         let min = ref [| 0.0 |]
-        let minLocation = ref <| [| Point() |]
+        let minLocation = ref <| [| Point () |]
         let max = ref [| 0.0 |]
-        let maxLocation = ref <| [| Point() |]
-        img.MinMax(min, max, minLocation, maxLocation)
+        let maxLocation = ref <| [| Point () |]
+        img.MinMax (min, max, minLocation, maxLocation)
         float32 (!min).[0], float32 (!max).[0]
 
     let inline bin (x : float32) : int =
@@ -44,10 +44,10 @@ let histogramMat (mat : Matrix<float32>) (nbSamples : int) : Histogram =
 
     let min, max =
         let min = ref 0.0
-        let minLocation = ref <| Point()
+        let minLocation = ref <| Point ()
         let max = ref 0.0
-        let maxLocation = ref <| Point()
-        mat.MinMax(min, max, minLocation, maxLocation)
+        let maxLocation = ref <| Point ()
+        mat.MinMax (min, max, minLocation, maxLocation)
         float32 !min, float32 !max
 
     let inline bin (x : float32) : int =