[Insight-users] Converting DICOM to STL

Garin, Alba agarin at ceit.es
Wed Apr 6 05:12:08 EDT 2011


Sorry, i meant itk::ImageSeriesReader

Alba

From: insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org] On Behalf Of Garin, Alba
Sent: miércoles, 06 de abril de 2011 11:11
To: insight-users at itk.org
Subject: Re: [Insight-users] Converting DICOM to STL

Dear Yang,

You can read the dicom files with itkSeriesReader, apply the all the filters you want in order to resample or smooth the images and transform them to vtk with itkImageToVTKImageFilter.


HTH

Alba


From: insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org] On Behalf Of Jon Haitz Legarreta Gorroño
Sent: miércoles, 06 de abril de 2011 11:06
To: insight-users at itk.org
Subject: Re: [Insight-users] Converting DICOM to STL

Dear Yang,
to my knowledge, there is no ITK filter that allows for a direct transformation.
A workaround may be using VTK, which has a DICOM reader and an STL writer. You would basically need to follow this workflow:

1. vtkDICOMImageReader (read DICOM image)
2. vtkContourFilter (extract isocontour to produce a mesh)
3. vtkSTLWriter (write mesh in STL file format)

I guess you could also use the ITK reader, then transform it into a VTK image and then write it with the aforementioned VTK writer.

I think 3D Slicer allows for such a conversion in case you don't wnat to spend time in doing it yourself.

Best regards,
JON HAITZ





El 05/04/2011 11:17, Xiaopeng Yang escribió:
Dear Users,

Is it possible to convert DICOM to STL by ITK?

Thanks,
Yang





_____________________________________

Powered by www.kitware.com<http://www.kitware.com>



Visit other Kitware open-source projects at

http://www.kitware.com/opensource/opensource.html



Kitware offers ITK Training Courses, for more information visit:

http://www.kitware.com/products/protraining.html



Please keep messages on-topic and check the ITK FAQ at:

http://www.itk.org/Wiki/ITK_FAQ



Follow this link to subscribe/unsubscribe:

http://www.itk.org/mailman/listinfo/insight-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110406/a33abbab/attachment.htm>


More information about the Insight-users mailing list