Skip to main content
. 2023 Dec 6;20(12):1989–1999. doi: 10.1038/s41592-023-02084-7

Fig. 1. Multimaterial mesh generation algorithm.

Fig. 1

a, Description of the successive steps of the Delaunay-watershed algorithm in 2D and 3D. From left to right: microscopy image (artificial here), segmentation mask, EDT map, seeding from extrema of the EDT and Delaunay tessellation, dual Voronoi diagram after the graph was segmented with a watershed cut algorithm50 and multimaterial nonmanifold mesh (polygonal in 2D or triangle mesh in 3D). DT, distance transform. b, The geometric precision of our mesh generation algorithm is benchmarked on foam-like simulations (n = 54), which are transformed into artificial images to reconstruct surface meshes. Our pipeline reconstructs cell geometry with better precision than state-of-the-art mesh generation methods, such as CGAL46, as shown by the comparison of the error (mean ± s.d.) in the reconstructed angles as a function of the original angle.