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 }