[Insight-users] Writing DICOM from non-DICOM

Bill Lorensen bill.lorensen at gmail.com
Tue Apr 20 11:01:05 EDT 2010


Here is an enhanced version of the example that processes command line
arguments:
http://viewvc.slicer.org/viewcvs.cgi/trunk/Applications/CLI/ImageReadDicomWrite.cxx?rev=12452&view=markup


On Tue, Apr 20, 2010 at 9:54 AM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
> 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
>
>
> _____________________________________
> 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
>
>


More information about the Insight-users mailing list