GUI (work in progress..)
[master-thesis.git] / Parasitemia / Parasitemia / GUI / Types.fs
diff --git a/Parasitemia/Parasitemia/GUI/Types.fs b/Parasitemia/Parasitemia/GUI/Types.fs
new file mode 100644 (file)
index 0000000..4f1260f
--- /dev/null
@@ -0,0 +1,22 @@
+module Parasitemia.GUI.Types
+
+open System.Drawing
+
+open Emgu.CV
+open Emgu.CV.Structure
+
+type RBC = {
+    num: int
+
+    infected: bool
+    addedManually: bool
+    removed: bool
+
+    center: Point
+    size: Size
+    stainArea: int }
+
+type SourceImage = {
+    num: int
+    img: Image<Bgr, byte>
+    rbcs: RBC list }
\ No newline at end of file