필터 지우기
필터 지우기

How to generate a zero-thickness surface and output the mesh?

조회 수: 1 (최근 30일)
Yulai Zhang
Yulai Zhang 2021년 3월 30일
댓글: Yulai Zhang 2021년 3월 30일
I have a 3D bindary dataset in which the 1s represent thin planes. I wanted to triangulate these plane surfaces to get nodes and connectivity information. I tried delaunayTriangulation but it always gave me 3D mesh (i.e. tetrahedrons) instead of 2D surface mesh (triangles). I also tried using isosurface, which did not allow me to choose an isovalue of 1, as a result, a isosurface was a very thin volume in fact. How could I get a zero-thickness surface by connecting the points and then export the triangles?
  댓글 수: 2
KSSV
KSSV 2021년 3월 30일
For delaunayTriangulation did you provide (x,y) or (x,y,z) ? Show us your code and attach your data.
Yulai Zhang
Yulai Zhang 2021년 3월 30일
I used delaunayTriangulation(x,y,z) as the code below, because my data is 3D.
In my data.mat, there are 3 thin planes (the 1s). I wanted my 1s to be connected to form 3 surfaces with no thickness and then get triangle mesh, not tetrahedrons.
Thanks
ind = find(model);
sz = [43 32 50];
[row,col,lay]=ind2sub(sz,ind);
DT = delaunayTriangulation(row,col,lay);

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Scalar Volume Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by