[vtkusers] change .raw to .dicom
Mathieu Malaterre
mathieu.malaterre at kitware.com
Wed Jan 24 14:24:11 EST 2007
Marc Cotran wrote:
>
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: [vtkusers] change .raw to .dicom
> From:
> Marc Cotran <marc at cotran.ca>
> Date:
> Wed, 24 Jan 2007 13:36:30 -0500
> To:
> Gina Yan <zhengina27 at hotmail.com>
>
> To:
> Gina Yan <zhengina27 at hotmail.com>
>
>
> Gina Yan wrote:
>> Hello,
>>
>> I'm trying to convert .raw files to .dicom. Could anyone tell me if
>> VTK can do that? Thanks a lot!
> Hi Gina,
>
> You'd have better luck using ITK for that (www.itk.org). Take a look at
> the examples in the IO folder. I don't believe VTK has a writer for
> DICOM files, but someone out there may have one...
Using VTK to convert a pseudo-RAW file to DICOM seems a bit overkill but
anyway you can have a look at GDCM it comes with a VTK wrapper so you
could read the pseudo-RAW file with vtkImageReader and write it with
vtkGdcmWriter to produce a DICOM file.
HTH
Mathieu
Ref:
http://www.creatis.insa-lyon.fr/Public/Gdcm/
More information about the vtkusers
mailing list