7d8029487095efe6ffc2f0e6d22ccf749fcc7e4f
[master-thesis.git] / Parasitemia / ParasitemiaUI / Types.fs
1 module ParasitemiaUI.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 config: ParasitemiaCore.Config.Config
22 mutable dateLastAnalysis: DateTime // UTC.
23 img: Image<Bgr, byte>
24 mutable rbcs: RBC list }