フィルターのクリア

How To convert .tiff stck to STL for Shape analysis.

21 ビュー (過去 30 日間)
Saurav
Saurav 2024 年 4 月 3 日
コメント済み: Haoqing Yang 2024 年 4 月 7 日
I have processed Dicom Images to Tiff slices. Now I want to create STL file using those .tiff slices for shape analysis of stone.I got this STL using python but I want to do with any matlab function because for shape analysis I am using matlab function. I have attached .tiff slices of stone.

採用された回答

Poorna
Poorna 2024 年 4 月 7 日
Hi Saurav,
I see you want to convert your TIFF stack to STL for shape analysis. In order to export a TIFF stack to STL you need to first create a triangulation object from the TIFF stack. You can use the "isosurface" function to first extract the faces and vertices values of the images read from .tif files. Using these as inputs, you can use the "triangulation" function to create a triangulation object. Finally, you can use the "stlwrite" function to export this triangulation object to .stl format.
Refer to the below MATLAB Answer which addresses the similar problem of exporting to .stl format: https://www.mathworks.com/support/search.html/answers/2035354-converting-matlab-isosurface-into-triangulation-object-for-stl-export.html
To know more about the above functions, refer to the following documentation:
Hope this Helps!
  2 件のコメント
Haoqing Yang
Haoqing Yang 2024 年 4 月 7 日
Nice answer, I am also wrting stl from tif, but I only have one binary tif image, and the depth is actually the same for the same valued pixel. How can I convert the file?
Haoqing Yang
Haoqing Yang 2024 年 4 月 7 日
This is like a staight extrudion function in any CAD software.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSTL (STereoLithography) についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by