3D triangulation using patch
22 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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 个评论
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 Center 和 File Exchange 中查找有关 Delaunay Triangulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!