JuliaGeometry / VoronoiDelaunay.jl

Fast and robust Voronoi & Delaunay tessellation creation with Julia
Other
123 stars 26 forks source link

Code sample to create the readme image #3

Closed hayd closed 9 years ago

hayd commented 9 years ago

It would be great if you could mention how you generated this (e.g. from an image?)!

julia tess

skariel commented 9 years ago

That's a good idea, I'll upload the code tomorrow

skariel commented 9 years ago

Done, see here: https://github.com/skariel/VoronoiDelaunay.jl/blob/master/examples/img_to_voronoi.jl

hayd commented 9 years ago

This is neat! Thanks!

Does it make sense to include something like from_image (just pulling out the image -> tesselation part) in VoronoiDelaunay.jl?

skariel commented 9 years ago

Yes, but the parameter should eb an image instead of a file name. So you could do some processing on the image after reading from file and then transform it into a Voronoi tessellation. please open a PR, Thanks!

skariel commented 9 years ago

Another advantage of having an image parameter is that VoronoiDelaunay.jl it would not depend on Images.jl and minimizing dependencies is of course a good thing :)