[Insight-developers] GDCM: writing files without extensions
Lorensen, William E (Research)
lorensen at crd.ge.com
Mon Dec 20 14:18:27 EST 2004
Actually, I looked a little further into this. I think that if the user
specifies an ImageIO on write, that the CanWriteFile should not be called in
itk. This assumes that the user knows what he/she is doing.
But, I need to think a bit more about the ramifications and generality of
this.
-----Original Message-----
From: Mathieu Malaterre [mailto:mathieu.malaterre at kitware.com]
Sent: Monday, December 20, 2004 2:07 PM
To: Lorensen, William E (Research)
Cc: insight-developers at public.kitware.com
Subject: Re: [Insight-developers] GDCM: writing files without extensions
Lorensen, William E (Research) wrote:
> Mathieu,
> GDCM will not write files unless they vae the dcm extension. I would like
to
> remove this restriction if SetImageIO is applied to the writer.
>
> GDCM will read files without extensions (this is good).
>
> Any objections?
Go for it. This was also an annoyance for me. I have tons of dicom file
without extension, and I could not even read since it stoped at the
extension matching.
BTW, if GDCM made it into the ImageFactory how are we going to handle
that (without file extension) ? I believe we are defaulting on another
type of image if no extension is found.
Mathieu
More information about the Insight-developers
mailing list