Update coding style.
[master-thesis.git] / Parasitemia / ParasitemiaCore / ImgTools / IO.fs
index 219eab6..08adfb0 100644 (file)
@@ -6,10 +6,10 @@ open System.Drawing
 open Emgu.CV
 open Emgu.CV.Structure
 
-let saveImg (img: Image<'TColor, 'TDepth>) (filepath: string) =
-    img.Save(filepath)
+let saveImg (img : Image<'TColor, 'TDepth>) (filepath : string) =
+    img.Save filepath
 
-let saveMat (mat: Matrix<'TDepth>) (filepath: string) =
-    use img = new Image<Gray, 'TDeph>(mat.Size)
-    mat.CopyTo(img)
+let saveMat (mat : Matrix<'TDepth>) (filepath : string) =
+    use img = new Image<Gray, 'TDeph> (mat.Size)
+    mat.CopyTo img
     saveImg img filepath