Borrar filtros
Borrar filtros

Need to export a 3D model

2 visualizaciones (últimos 30 días)
Chathu
Chathu el 22 de Oct. de 2016
Comentada: Chathu el 24 de Oct. de 2016
I have set of images and i have just considered the boundary of the image. In that boundary, i have obtained points as x and y coordinates, which shown below:
x= sortedx(i);
y=sortedy(i);
then i have the z coordinate as below:
z=2*ones(1,length(line));
(Note that z is the slice thickness which apparently 2mm, here)
My question is i have stacked mat files of above mentioned boundary images. Now, my intention is to export a 3D model to paraview by converting it to VTK format. Unfortunately, out of many mat to vtk conversion functions,i was not able to solve my issue). How can i export my 3D model?
Can someone pls help.

Respuesta aceptada

Walter Roberson
Walter Roberson el 22 de Oct. de 2016
You have boundary lines for each layer, but you do not have any information about the connection between the layers, so you cannot get a 3D geometry out without more work. How does the N'th point of the second layer relate to the N'th point of the first and third layers?
  5 comentarios
Walter Roberson
Walter Roberson el 23 de Oct. de 2016
The document indicates that paraview would accept files that contained a bunch of 3D lines, if we arrange to output such a file. I do not, however, know what kind of processing paraview can do with such a file.
What was it you were hoping that you could do with the slices in paraview?
With situations like this, I tend to think in terms of converting the outside surface into a triangular mesh, or into a quad mesh, but it does not appear to me that meshes are one of the input types that paraview accepts.
I wonder if it would make sense to simply create a volume that was NaN (or perhaps 0) everywhere except the boundary positions? That could exported as a "structured 3D grid".
Chathu
Chathu el 24 de Oct. de 2016
Thank you so much for your response Walter. I was hoping to get a 3D model using slices, in the Paraview. Anyway thank you so much for your kind suggestions.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Computational Geometry en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by