Split the module 'ImgTools' in many modules.
[master-thesis.git] / Parasitemia / ParasitemiaCore / UnitsOfMeasure.fs
index 81ce51f..36c9495 100644 (file)
@@ -1,16 +1,12 @@
 module ParasitemiaCore.UnitsOfMeasure
 
-[<Measure>] type px
+[<Measure>] type px // Pixel.
 [<Measure>] type μm
 [<Measure>] type inch
-[<Measure>] type ppi = px / inch
+[<Measure>] type ppi = px / inch // Pixel per inch.
 
 let μmInchRatio = 25.4e3<μm/inch>
 
 let μmToInch(x: float<μm>) : float<inch> = x / μmInchRatio
 let inchToμm(x: float<inch>) : float<μm> = x * μmInchRatio
 
-
-
-
-