Re: Problem 3D imaging: making 3000 coordinates into a solid 3d image



"Delano Castro" <delano.castro@xxxxxxxxxx> wrote in message
<fjlonm$ind$1@xxxxxxxxxxxxxxxxxx>...
eevje <gekke.eevje@xxxxxxxxx> wrote in message

<21493042.1194605468417.JavaMail.jakarta@xxxxxxxxxxxxxxxxxxxxxx>...
I've got coordinates(3000 times x, y and z) of a bonepiece.

I want to make it a solid bonepiece and I thought of
connecting the coordinates(three at the time) wich are close
together with trisurf or tetramesh. somehow, matlab doesnt
find the coordinates which are closest to eachother. I tried
to solve it with griddata but that doesnt work because it
has a problem with seeing wich points are the top of the
bone and which are the bottompoints of the bone because it
searches for coordinates in x and y and it forgets z.

T = csvread('tal0r.csv');
x = T(2325:3164,1);
y = T(2325:3164,2);
z = T(2325:3164,3);

figure
[XI,YI] = meshgrid(-22:1:23,-32:1:32);
ZI = griddata(x,y,z,XI,YI);
mesh(XI,YI,ZI), hold on
tri = delaunay(XI,YI);
trisurf(tri,XI,YI,ZI,'FaceColor','red') in
'FaceColor','green','EdgeColor','black'
hold off

please help me!

---

Hi.
Did you resolve your problem?
I'm have almost the same problem. I have a foot, but a mesh
of points in cartesiane coordinates (x,y,z), not a mesh of
triangles nor surface.
I need to build a surface or a mesh or a solid with this
points in cartesiane coordinates.
I found some programas that can write a DXF file from a 3D
mesh, but the main problem is this... how to make this 3D
mesh from points.

Need some help!



Hi, I'm working on the same sort of problem. I have a huge
dataset of nodes in 3d space that I made into a mesh. What
you probably want to look into is meshgrid and griddata. You
could also check out delaunay3 which interpolates for you
between the data and creates a mesh. Hope this helps. You
can e-mail if you have any questions. Maxami13@xxxxxxx

Also if you have success let me know. I finally created a
mesh and exported it into amira using the PLY format. But I
haven't been able to use the Delaunay3 function and export.

.



Relevant Pages