Morphing a stent graft

7 views (last 30 days)
Alessandro Vitozzi
Alessandro Vitozzi on 1 Feb 2024
Answered: Gautam on 22 Feb 2024
Hi there! I have a set of nodes (x,y,z) representing the coordinates of a deformed stent. I would like to perform a sort of morphing in order to generate the external fabric of the stent. I already tried to generate a triangulated surface using convhull and triangulation, but I would like to have something smoother. Any ideas?

Answers (1)

Gautam
Gautam on 22 Feb 2024
Hello, Alessandro
I understand that you have a triangulated surface and want to smoothen it, below are a few approaches you can consider generating a smoother surface representation.
  1. Fitting a Surface: You can fit a mathematical surface to your data points using functions like fit from the Curve Fitting Toolbox. This could involve fitting a spline or other smooth surface to your data. You can then evaluate the surface at a grid of points to plot it.
  2. Using MATLAB's “griddata or scatteredInterpolant”: These functions can interpolate the surface at points on a grid based on the scattered data points
  3. Using a Smoothing Algorithm like Laplacian Smoothing or HC-Smoothing: There are mesh smoothing algorithms like Laplacian smoothing and HC (Humphrey’s Classes) smoothing that can be applied to the vertices of a triangulated mesh to make the surface appear smoother.
  4. Using MATLAB's “smooth3 function: If you have a volumetric data, you can use this function to smoothen it.
For more information on the various smoothening functions, refer to the MathWorks documentations linked below:
  1. fit: https://www.mathworks.com/help/curvefit/fit.html?searchHighlight=fit&s_tid=srchtitle_support_results_1_fit
  2. Smoothing Splines: https://www.mathworks.com/help/curvefit/smoothing-splines.html?searchHighlight=spline&s_tid=srchtitle_support_results_4_spline
  3. griddata: https://www.mathworks.com/help/matlab/ref/griddata.html?searchHighlight=griddata&s_tid=srchtitle_support_results_1_griddata
  4. scatteredInterpolant: https://www.mathworks.com/help/matlab/ref/scatteredinterpolant.html?searchHighlight=scatteredInterpolant&s_tid=srchtitle_support_results_1_scatteredInterpolant
  5. smooth3: https://www.mathworks.com/help/matlab/ref/smooth3.html?searchHighlight=smooth3&s_tid=srchtitle_support_results_1_smooth3
Thank You,
Gautam Murthy

Tags

Community Treasure Hunt

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

Start Hunting!