Closed hayd closed 9 years ago
Thanks, I'll merge this now and I'll make a few modifications later:
1) like you said, the .c.b
thing needs to be configurable
2) npoints
is not really the number of poits, just the number of trys. The actual number of points will depend on the actual image gray areas. I'll change this to actually mean the number of points
3) The 0.5
and 0.01
thesholds can be configurable too
4) Testing, once with a generated image (e.g. just white/black blocks or lines)
Adds a from_image method, and cleans up the example code (to generate the readme image) to use it.
(I haven't tested this... if I add this part travis is sulking, because the file isn't referenced wrt the file,hmmm https://travis-ci.org/hayd/VoronoiDelaunay.jl/jobs/39213137)