[Insight-users] Writing into a DICOM file
Glen Lehmann
glehmann at imaging.robarts.ca
Tue Jun 22 09:06:39 EDT 2004
Hi Salah,
From the Documentation
(http://www.itk.org/Doxygen/html/classitk_1_1ImageFileWriter.html):
"You can either manually instantiate the ImageIO object and associate
it with the ImageFileWriter, or let the class figure it out from the
extension. Normally just setting the filename with a suitable suffix
(".png", ".jpg", etc) and setting the input to the writer is enough to
get the writer to work properly."
You can instantiate DICOMImageIO or just use the ,dcm file extension.
For further examples, have a look at the ITK software guide, chapter 7.
HTH,
Glen
On Jun 22, 2004, at 7:34 AM, salah wrote:
> Hello all,
>
> I am trying to save an itk image into a DICOM file. Does itk provide
> writers for this purpose? Is there an example/application that
> demonstrates such thing?
>
> If not, I could write the image into a meta image (mhd + raw), How can
> I then covert this file into the DICOM format?
>
> Many thanks in advanced for the help.
>
> Zein
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1275 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20040622/3afefc15/attachment.bin
More information about the Insight-users
mailing list