Zhang-Suen thinning algorithm: Difference between revisions

m
Changed "thinned" from "proc" to "func".
m (Changed "thinned" from "proc" to "func".)
Line 3,045:
result += ord(p[i] == 0 and p[j] == 1)
 
procfunc thinned(m: BitMatrix): BitMatrix =
## Return a thinned version of "m".
const Pair1 = [2, 8]
Anonymous user