how to make wireframe from xyz
Thu, 06/18/2020 - 07:49 am
Hello. I am having trouble, and I'm hoping for some advice. We are working with stacks of images, and tracing objects of interest on each image, which generates a set of XYZ points (see image). I want to convert these scatter data into a mesh (triangularized?), so that it can be displayed nicely with 3D rendering. I don't see an Igor routine that does this. The ImageInterpolate Voronoi approach comes close, but if I understand right, it assumes the data are like a topo map, which this isn't. Anyway, it is giving me a bunch of crazy triangles that connect from way up high to way down low.
Does anybody know of a good way to generate a triangular or other mesh from these data? I can imagine constructing a triangle from two adjacent points on one trace plus the nearest point on the adjacent trace. However, this runs into problems when you get to the top or bottom of a structure (i.e. which shouldn't connect to anything). I would be grateful if somebody has insights into this.