Using the isosurface() function for 3D coordinate sets

10 visualizaciones (últimos 30 días)
Johan Zúñiga
Johan Zúñiga el 23 de Mayo de 2023
Comentada: Johan Zúñiga el 24 de Mayo de 2023
If I only have as input data a finite set (sample) of rectangular coordinates (x,y,z), of a three-dimensional structure with unknown shape, how can I generate the enveloping surface around the points from the isosurface() function?

Respuestas (1)

Walter Roberson
Walter Roberson el 23 de Mayo de 2023
The output of isosurface() is the data needed to construct a patch() object, so it contains information about the vertices and the face connections.
It is not clear what kind of representation you want for "the enclosing surface" ?
  3 comentarios
Walter Roberson
Walter Roberson el 23 de Mayo de 2023
See boundary to get the vertices of the outer hull.
You would not use isosurface() for the case where you have scattered coordinates. isosurface() is for the case where you have a regular grid of coordinates.
Johan Zúñiga
Johan Zúñiga el 24 de Mayo de 2023
Yes, I understand that the 'boundary' function allows me to build a polyhedral surface that surrounds the data set (x,y,z). However, I was wondering if there is a more "sophisticated" method than that. Someone told me that this is possible through the marching cubes algorithm and as far as I understand the 'isosurface' function is based on it. would you have a better suggestion?
The only drawback is that the 'isosurface' function has as input argument a volume data V matrix, but I don't know how to get it if I only know the set of points (x,y,z).

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by