* Add the analysis window.
[master-thesis.git] / Parasitemia / Parasitemia / GUI / Types.fs
index d6e9cf9..f22afdb 100644 (file)
@@ -1,5 +1,6 @@
 module Parasitemia.GUI.Types
 
+open System
 open System.Windows
 
 open Emgu.CV
@@ -8,15 +9,16 @@ open Emgu.CV.Structure
 type RBC = {
     num: int
 
-    infected: bool
-    addedManually: bool
-    removed: bool
+    mutable infected: bool
+    mutable setManually: bool
 
     center: Point
     size: Size
-    stainArea: int }
+    infectedArea: int }
 
 type SourceImage = {
-    num: int
+    mutable num: int
+    mutable rbcRadius: float
+    mutable dateLastAnalysis: DateTime // UTC.
     img: Image<Bgr, byte>
-    rbcs: RBC list }
\ No newline at end of file
+    mutable rbcs: RBC list }
\ No newline at end of file