projects
/
master-thesis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace "for [..] in [..]" by "for [..] to [..]" for consistency.
[master-thesis.git]
/
Parasitemia
/
ParasitemiaCore
/
ImgTools
/
Drawing.fs
diff --git
a/Parasitemia/ParasitemiaCore/ImgTools/Drawing.fs
b/Parasitemia/ParasitemiaCore/ImgTools/Drawing.fs
index
363acda
..
edf4cd2
100644
(file)
--- a/
Parasitemia/ParasitemiaCore/ImgTools/Drawing.fs
+++ b/
Parasitemia/ParasitemiaCore/ImgTools/Drawing.fs
@@
-51,8
+51,8
@@
let drawCell (img: Image<Bgr, byte>) (drawCellContent: bool) (c: Cell) =
let colorG = rngCell.Next(20, 70)
let colorR = rngCell.Next(20, 70)
let colorG = rngCell.Next(20, 70)
let colorR = rngCell.Next(20, 70)
- for y
in 0 ..
c.elements.Height - 1 do
- for x
in 0 ..
c.elements.Width - 1 do
+ for y
= 0 to
c.elements.Height - 1 do
+ for x
= 0 to
c.elements.Width - 1 do
if c.elements.[y, x] > 0uy
then
let dx, dy = c.center.X - c.elements.Width / 2, c.center.Y - c.elements.Height / 2
if c.elements.[y, x] > 0uy
then
let dx, dy = c.center.X - c.elements.Width / 2, c.center.Y - c.elements.Height / 2