[Insight-users] Writing DICOM from non-DICOM

Luis Ibanez luis.ibanez at kitware.com
Tue Apr 20 09:54:36 EDT 2010


Hi Michael,

This has been solved a long time ago.

Please use the following example:

  Insight/Examples/IO/
       ImageReadDicomSeriesWrite.cxx


This example shows you how to read an image
from a non-DICOM source (e.g. MetaImage,
Analyze, VTK...) and save it as a DICOM series.

It also shows how to alter some of the DICOM tags...
something that must be done carefully since you
will be altering / producing patient information.


  Regards,


        Luis

---------------------------------------------
On Tue, Apr 20, 2010 at 8:32 AM, Granseier, Michael (VISUS) <
granseier at visus.com> wrote:

> Hello vtk-users,
>
> my questions refers to an article in the Kitware Public Wiki
> named "Proposals: Writing DICOM from non-DICOM".
> (http://www.itk.org/Wiki/Proposals:Writing_DICOM_from_non-DICOM)
>
> Actually I'm facing exactly this problem.
> I want to write a DICOM-Series with the itkImageSeriesWriter and the
> GDCMImageIO.
> But I don't use the itkImageSeriesReader before to read in a DICOM dataset.
> Instead I have a raw-File and a mhd-Header-File, which I have written on my
> own in Java.
>
> So the writer creates a DICOM series with exactly the same problems
> described in the wiki article.
> The article was last modified on 10 April 2006.
> I would like to know if there are any solutions for that problem by now.
> Or is it possible to manually create a MetaDataDictionary containing all
> necesary informations from the DICOM-header?
>
>
> Any help will be greatly appreciated.
>
> Thanks!
>
>
> Kind regards
>
> Michael Granseier
>
>
> _____________________________________
> Powered by 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/20100420/bbb572dd/attachment-0001.htm>


More information about the Insight-users mailing list