Azzera filtri
Azzera filtri

Creating a Voronoi Image

2 visualizzazioni (ultimi 30 giorni)
Nathan Constance
Nathan Constance il 1 Mag 2017
Commentato: Image Analyst il 1 Mag 2017
I've been working on an image processing problem for a long time and a Voronoi program could really help me segment it. The Voronoi diagram itself isn't my final destination, so I would like to get an image of the Voronoi segmented diagram for further processing.
The problem is that the Voronoi method (voronoi(x,y) and voronoin(x)) Can show me the diagram and save some information about the cells, but doesn't actually produce an image that I can further process. Is there some way that I can do that?
What I really want is to be able to divide my original image based on the positions of the voronoi filter. So for the first cell for instance I would have some way to refer to all the pixels in my original image that fit inside it and edit those, and be able to do the same with every other cell as well. I'm confident that if I had an image of the voronoi diagram to edit I could use blob organization methods to do that, but if I had some way of systematically referring to all the pixels in any given cell I wouldn't actually need an image at all, if that helps.
Thank you all in advance! If anything I said was unclear or if you need any more information please let me know, I'll get back to you as soon as possible.
  1 Commento
Image Analyst
Image Analyst il 1 Mag 2017
Attach your image and the code to create the voronoi from it.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Voronoi Diagram in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by