How to divide a 2D irregular shape into small cells, like in the image? The black and white image is the irregular shape and the green line represents the outline of the divided cells, like this:
Asked
Active
Viewed 93 times
0
-
does this help? https://stackoverflow.com/questions/12901283/webgl-and-tessellation-library – maraaaaaaaa Feb 03 '22 at 23:34
-
Thanks. It does help, but it's not really the solution I'm looking for. – cell_bio_guy Feb 03 '22 at 23:36
-
You might want to either: Divide the shape into something that tiles (squares, triangles, etc.) or potentially use a kind of voronoi diagram if you want a more "organic" feel – MichaelT572 Feb 03 '22 at 23:44
-
What output format is needed? – martineau Feb 04 '22 at 00:35
-
a labelled mask with each cell labelled using different colors. – cell_bio_guy Feb 04 '22 at 01:21
-
i actually found a very useful solution, but i'm not sure if i can code it https://gis.stackexchange.com/questions/321021/splitting-polygon-into-equal-area-polygons-using-qgis – cell_bio_guy Feb 04 '22 at 05:25