projects
/
master-thesis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update coding style.
[master-thesis.git]
/
Parasitemia
/
ParasitemiaCore
/
ImgTools
/
IO.fs
diff --git
a/Parasitemia/ParasitemiaCore/ImgTools/IO.fs
b/Parasitemia/ParasitemiaCore/ImgTools/IO.fs
index
219eab6
..
08adfb0
100644
(file)
--- a/
Parasitemia/ParasitemiaCore/ImgTools/IO.fs
+++ b/
Parasitemia/ParasitemiaCore/ImgTools/IO.fs
@@
-6,10
+6,10
@@
open System.Drawing
open Emgu.CV
open Emgu.CV.Structure
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
saveImg img filepath