Borrar filtros
Borrar filtros

Creating a Voronoi Image

2 visualizaciones (últimos 30 días)
Nathan Constance
Nathan Constance el 1 de Mayo de 2017
Comentada: Image Analyst el 1 de Mayo de 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 comentario
Image Analyst
Image Analyst el 1 de Mayo de 2017
Attach your image and the code to create the voronoi from it.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Voronoi Diagram en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by