Use two radius in the configuration, one computed with the image resolution and one...
[master-thesis.git] / Parasitemia / Parasitemia / Ellipse.fs
index c8d44b7..be35940 100644 (file)
@@ -209,7 +209,7 @@ let find (edges: Matrix<byte>)
          (yGradient: Image<Gray, float32>)
          (config: Config) : MatchingEllipses =
 
-    let r1, r2 = config.RBCMinRadius, config.RBCMaxRadius
+    let r1, r2 = config.RBCRadius.Min, config.RBCRadius.Max
     let incrementWindowDivisor = 4.f
 
     // We choose a window size for which the biggest ellipse can always be fitted in.