How to convert vtk Polydata file to DICOM format?
2 views (last 30 days)
Show older comments
I have a 3D model which is in vtk polydata format. I want to convert this file to DICOM. Is it possible in MatLab?
0 Comments
Accepted Answer
Walter Roberson
on 13 Nov 2016
You would have to render the polygons into voxels and write out the rendered voxels.
At the moment I cannot think of any reason why you would want to do this? DICOM is a format for storing Digital Images especially for Medicine, not a generalized dataset format.
3 Comments
Walter Roberson
on 13 Nov 2016
https://www.mathworks.com/matlabcentral/fileexchange/24484-geom3d might help. Possibly https://www.mathworks.com/matlabcentral/fileexchange/49692-gptoolbox. Perhaps https://www.mathworks.com/matlabcentral/fileexchange/27390-mesh-voxelisation
An important work routine is https://www.mathworks.com/matlabcentral/fileexchange/37856-inpolyhedron-are-points-inside-a-triangulated-volume-
Some of the routines in the PDE Toolbox might help; https://www.mathworks.com/help/pde/ug/create-and-view-3-d-geometry.html
More Answers (0)
See Also
Categories
Find more on DICOM Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!