X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=Parasitemia%2FParasitemiaUI%2FTypes.fs;fp=Parasitemia%2FParasitemiaUI%2FTypes.fs;h=7d8029487095efe6ffc2f0e6d22ccf749fcc7e4f;hb=4bfa3cbdc6145e6944f02e24829ab2ef3a851ac1;hp=0000000000000000000000000000000000000000;hpb=48ecdfc43001c444eff6ad442986049384674af2;p=master-thesis.git diff --git a/Parasitemia/ParasitemiaUI/Types.fs b/Parasitemia/ParasitemiaUI/Types.fs new file mode 100644 index 0000000..7d80294 --- /dev/null +++ b/Parasitemia/ParasitemiaUI/Types.fs @@ -0,0 +1,24 @@ +module ParasitemiaUI.Types + +open System +open System.Windows + +open Emgu.CV +open Emgu.CV.Structure + +type RBC = { + num: int + + mutable infected: bool + mutable setManually: bool + + center: Point + size: Size + infectedArea: int } + +type SourceImage = { + mutable num: int + mutable config: ParasitemiaCore.Config.Config + mutable dateLastAnalysis: DateTime // UTC. + img: Image + mutable rbcs: RBC list } \ No newline at end of file