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

조회 수: 19 (최근 30일)
Karam Jaradat
Karam Jaradat 2018년 4월 6일
답변: Ahmet Cecen 2018년 4월 6일
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?

답변 (1개)

Ahmet Cecen
Ahmet Cecen 2018년 4월 6일
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.

카테고리

Help CenterFile Exchange에서 STL (STereoLithography)에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by