Group Abstract Group Abstract

Message Boards Message Boards

Making fake Voronoi diagrams

Posted 5 years ago
POSTED BY: J. M.
5 Replies
POSTED BY: EDITORIAL BOARD
POSTED BY: Sander Huisman
Posted 5 years ago

I call them "fake" in that the results do look like Voronoi diagrams, but there's not much else you can do with them. To use my first example, VoronoiMesh[] is certainly easier to do stuff with than the fake I made with DensityPlot[].

In an e-mail, Christopher Wolfram suggested that one might be able to use WatershedComponents[] on the resulting pictures, but I have yet to do those experiments.

Regarding the example with multiple objects that you mention, I did something like that in this mathematica.SE answer.

POSTED BY: J. M.

Indeed, I have used Watershed transform on these, there is even a Voronoi example in the documentation of WatershedComponents.

POSTED BY: Sander Huisman
Posted 5 years ago

(This is my first time trying to post an embedded notebook here in Community. I hope it went well, and I hope the technique demonstrated in the notebook proves useful.)

POSTED BY: J. M.
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard