[Insight-developers] Re: Proposal: Change default DICOM from DICOMImageIO2 to GDCMImageIO

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Apr 18 13:31:09 EDT 2005


Lorensen, William E (Research) wrote:
> Folks,
> I'd like to start a discussion about making GDCM the default DICOM reader/writer in itk. Please add your comments to:
> http://www.itk.org/Wiki/Proposals:Make_GDCM_the_default_DICOM

No sure if this is usefull to add to the wiki:

1. DICOMSeriesFilenames

There is a lot of work to do. Keep in mind that those class were written 
against gdcm 0.5 which had lot less advanced features. Anyway to enhance 
the class I would also suggest it can have multiple choices of 
generating names:

a) Keep the original name, but then we have to write files in another 
directory  (thus we need an 'input' dir and an 'output' dir).

b) Since DICOM does not specify the naming convention for the filename, 
we should be able to write the file under its UID (it's garantee to be 
unique!).

c) Another approach (more conventional) would be to specify a prefix and 
a pattern. (we don't require two differents directories anymore).




2. DICOMSeriesFilenames

gdcm 0.6 could only handle one serie within a directory. gdcm 1.0 and 
above have a much easier API to manipulate multiple series (and order 
files) within the same directory. For more info see gdcm::SerieHelper



Mathieu


More information about the Insight-developers mailing list