[Insight-users] Read Write Dicom Image

Luis Ibanez luis.ibanez at kitware.com
Wed Mar 25 14:31:15 EDT 2009


Hi Mathieu,

This "gdcminfo" tool is really cool.

Thanks for making it available.


BTW: Nice release of GDCM 2.0.10.

      My only complaint: It was too easy to install  :-)



    Luis


---------------------------
Mathieu Malaterre wrote:
> On Wed, Mar 25, 2009 at 1:57 AM, Hui Wang <cougarhui at yahoo.com> wrote:
> 
>>Hi, I am new to itk and want to read dicom image using itk.
>>
>>I've already looked at the example
>>
>>     Insight/Examples/Code/IO/
>>                 DicomImageReadWrite.cxx
>>                 ImageReadWrite.cxx
>>
>>Using the above two programs to read and write a dicom image. But I got
>>errors showing below:
>>
>>File: D:\InsightToolkit-3.8.0\Code\IO\itkGDCMImageIO.cxx
>>Line: 657
>>Description: itk::ERROR: GDCMImageIO(017A8BD0): Cannot read requested file
>>
>>Does anyone know the reason and how to fix it? I tried several different
>>dicom images but encounter the same error.
>>
> 
> 
> You seems to be working on windows system. Could you please download
> the gdcm release, see link at:
> 
> http://apps.sourceforge.net/mediawiki/gdcm/index.php?title=GDCM_Release_2.0#GDCM_2.0.10_.282008.2F11.2F18.29
> 
> Select 'GDCM-2.0.10-Windows-x86.exe ', it will install a command line
> tool 'gdcminfo'. Could you run the tool on any of the problematic file
> you are dealing wit, for example:
> 
>   gdcminfo my_file.dcm
> 
> Send me the output.
> 
> Thanks,


More information about the Insight-users mailing list