Converting multiple dicom to a single .vtk or .stl

510 views
Skip to first unread message

Shannen Lambdin

unread,
Sep 30, 2014, 6:21:34 PM9/30/14
to itksna...@googlegroups.com
Does anyone know the command for converting multiple dicom files to a single .vtk or .stl file in ITK-SNAP/convert3d tool?

Baohua Wu

unread,
Sep 30, 2014, 9:53:15 PM9/30/14
to itksna...@googlegroups.com, slamb...@gmail.com
Hi Shannen,

Probably you can use this tool to convert them to a single nifti file:
dcm2nii -o outFileName  dicomPath/dicomFileNames 

More information is available here:
http://www.mccauslandcenter.sc.edu/mricro/mricron/dcm2nii.html

Thanks,

Bao


On 9/30/2014 6:21 PM, Shannen Lambdin wrote:
Does anyone know the command for converting multiple dicom files to a single .vtk or .stl file in ITK-SNAP/convert3d tool?
--
You received this message because you are subscribed to the Google Groups "itksnap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to itksnap-user...@googlegroups.com.
To post to this group, send email to itksna...@googlegroups.com.
Visit this group at http://groups.google.com/group/itksnap-users.
For more options, visit https://groups.google.com/d/optout.

Baohua Wu

unread,
Sep 30, 2014, 10:37:32 PM9/30/14
to itksna...@googlegroups.com, slamb...@gmail.com
After you get a nifti file, you can use c3d to convert it to vtk format:


c3d tmp.nii.gz -o tmp.vtk

Paul Yushkevich

unread,
Oct 1, 2014, 1:50:16 PM10/1/14
to itksna...@googlegroups.com, slamb...@gmail.com
You can also load DICOMs into ITK-SNAP and then save as VTK image.
--
Paul A. Yushkevich, Ph.D.
Associate Professor
Penn Image Computing and Science Laboratory
Department of Radiology
University of Pennsylvania

Shannen Lambdin

unread,
Oct 2, 2014, 4:16:09 PM10/2/14
to itksna...@googlegroups.com
Thank you for all of your replies! If possible though, I would like to solely use command line and itk-snap/convert3d (or stay in one framework). Is this possible through command line with ITK-SNAP?

Paul Yushkevich

unread,
Oct 14, 2014, 6:09:16 AM10/14/14
to itksna...@googlegroups.com
Hi Shannen,

We don't currently have support for loading DICOM into Convert3D. It's a little tricky because you don't know ahead of time what images are in the DICOM directory. ITK-SNAP provides GUI for selecting 3D images from a DICOM directory, but there is no command-line interface to this.

dcm2nii is very reliable and a great tool

Paul

--
You received this message because you are subscribed to the Google Groups "itksnap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to itksnap-user...@googlegroups.com.
To post to this group, send email to itksna...@googlegroups.com.
Visit this group at http://groups.google.com/group/itksnap-users.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages