3D triangulation using patch

조회 수: 37 (최근 30일)
Miguel Esteban Mora Gonzalez
Miguel Esteban Mora Gonzalez 2020년 10월 26일
댓글: James Peckham 2022년 3월 31일
hello I need help to obtain a triangulation object from the "patch" function with which I perform a 3D reconstruction of a volume of images. How can I do this?

답변 (1개)

Shubham Rawat
Shubham Rawat 2020년 12월 3일
Hi Miguel,
You can obtain delaunay traingulation object directly from the Points, which you are using in the Patch function.
Hope this Helps!
  댓글 수: 2
Richard Bliss
Richard Bliss 2021년 7월 5일
By "Points", do you mean the XData, YData and ZData or the Vertices?
James Peckham
James Peckham 2022년 3월 31일
using the patchvaribel.faces for the connectivity list and the patchvairble.vertices for the points like this
[X,Y] = meshgrid(1:0.5:10,1:20);
Z = sin(X) + cos(Y);
v=surf(X,Y,Z);
p= surf2patch(v,'triangles')
patch(p)
Tr=triangulation(p.faces,p.vertices)

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

카테고리

Help CenterFile Exchange에서 Delaunay Triangulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by