* Add the analysis window.
[master-thesis.git] / Parasitemia / Parasitemia / GUI / Types.fs
1 module Parasitemia.GUI.Types
2
3 open System
4 open System.Windows
5
6 open Emgu.CV
7 open Emgu.CV.Structure
8
9 type RBC = {
10 num: int
11
12 mutable infected: bool
13 mutable setManually: bool
14
15 center: Point
16 size: Size
17 infectedArea: int }
18
19 type SourceImage = {
20 mutable num: int
21 mutable rbcRadius: float
22 mutable dateLastAnalysis: DateTime // UTC.
23 img: Image<Bgr, byte>
24 mutable rbcs: RBC list }