projects
/
master-thesis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a way to detect the membrane of a parasite in the ring stage.
[master-thesis.git]
/
Parasitemia
/
ParasitemiaUI
/
State.fs
diff --git
a/Parasitemia/ParasitemiaUI/State.fs
b/Parasitemia/ParasitemiaUI/State.fs
index
96dfc24
..
e15dc9b
100644
(file)
--- a/
Parasitemia/ParasitemiaUI/State.fs
+++ b/
Parasitemia/ParasitemiaUI/State.fs
@@
-9,7
+9,7
@@
open Emgu.CV.Structure
open Types
open Types
-type State () =
+type State (
defaultConfig: ParasitemiaCore.Config.Config
) =
let sourceImages = List<SourceImage>()
let mutable alteredSinceLastSave = false
let mutable patientID = ""
let sourceImages = List<SourceImage>()
let mutable alteredSinceLastSave = false
let mutable patientID = ""
@@
-77,7
+77,7
@@
type State () =
/// </summary>
/// <exception cref="System.IOException">If the file cannot be loaded</exception>
member this.Load () =
/// </summary>
/// <exception cref="System.IOException">If the file cannot be loaded</exception>
member this.Load () =
- let data = PiaZ.load this.FilePath
+ let data = PiaZ.load this.FilePath
defaultConfig
this.PatientID <- data.patientID
sourceImages.Clear()
sourceImages.InsertRange(0, data.images)
this.PatientID <- data.patientID
sourceImages.Clear()
sourceImages.InsertRange(0, data.images)