X-Git-Url: http://git.euphorik.ch/?p=master-thesis.git;a=blobdiff_plain;f=Parasitemia%2FParasitemia%2FGUI%2FTypes.fs;h=f22afdb56cf50c3e956b8becb8a3d98062733641;hp=4f1260fcab4637b3b7c9be466a2afa7b1e42a70e;hb=807437584bdd3d7b7b33be8282472f81f8cce606;hpb=0af5da4bffad8333c8e57851e067218c0e21d7bb diff --git a/Parasitemia/Parasitemia/GUI/Types.fs b/Parasitemia/Parasitemia/GUI/Types.fs index 4f1260f..f22afdb 100644 --- a/Parasitemia/Parasitemia/GUI/Types.fs +++ b/Parasitemia/Parasitemia/GUI/Types.fs @@ -1,6 +1,7 @@ module Parasitemia.GUI.Types -open System.Drawing +open System +open System.Windows open Emgu.CV open Emgu.CV.Structure @@ -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 - rbcs: RBC list } \ No newline at end of file + mutable rbcs: RBC list } \ No newline at end of file