module Parasitemia.GUI.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 rbcRadius: float mutable dateLastAnalysis: DateTime // UTC. img: Image mutable rbcs: RBC list }