MATLAB Answers

0

How can I convert STL file into stacks of 2D images?

Asked by Karam Jaradat on 6 Apr 2018
Latest activity Answered by Ahmet Cecen on 6 Apr 2018
I have a 3D STL file that I'm wishing to convert into a stack of 2D images for further image processing. Is there a matlab function capable of doing that?

  0 Comments

Sign in to comment.

1 Answer

Answer by Ahmet Cecen on 6 Apr 2018

Laziest and slowest way of doing this, but probably the most surefire way, is to use a scattered interpolant. Depending on the type of your STL file, you may have to generate data points with 0 values on locations that are empty.
First find the interpolant: scatteredInterpolant. Then query it at equispaced grid points you generate by using meshgrid.

  0 Comments

Sign in to comment.