3D triangulation using patch

39 Ansichten (letzte 30 Tage)
Miguel Esteban Mora Gonzalez
Kommentiert: James Peckham am 31 Mär. 2022
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?

Antworten (1)

Shubham Rawat
Shubham Rawat am 3 Dez. 2020
Hi Miguel,
You can obtain delaunay traingulation object directly from the Points, which you are using in the Patch function.
Hope this Helps!
  2 Kommentare
Richard Bliss
Richard Bliss am 5 Jul. 2021
By "Points", do you mean the XData, YData and ZData or the Vertices?
James Peckham
James Peckham am 31 Mär. 2022
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)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Delaunay Triangulation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by