[ITK Community] Fwd: Runtime error while running ResampleDICOM example on Ubuntu13.10

Luis Ibanez luis.ibanez at kitware.com
Tue Feb 25 14:53:57 EST 2014


Hi Alok,


So, just to make sure that I understand.

When building ITK 4.3 with GCC 4.6, the problem went away ?

What GCC version were you using previously ?

  Thanks

     Luis


On Tue, Feb 25, 2014 at 1:36 PM, Alok <alok.theanomaly at gmail.com> wrote:

> Hi Luis,
>
> I have not tried out what you suggested yet. But I built ITK again with
> g++-4.6 and gcc-4.6 and its working for me now.
>
> I am currently using ITK-4.3 since the project I am working on was written
> using this version of ITK.
>
> Does that make any sense?
>
> Thanks
> Alok
>
>
> On Tue, Feb 25, 2014 at 10:45 AM, Luis Ibanez <luis.ibanez at kitware.com>wrote:
>
>> Hi Alok,
>>
>> It may help to inspect closely the output on
>>
>> const ReaderType::FileNamesContainer & filenames =
>>                             inputNames->GetInputFileNames();
>>
>>
>>
>> Something must be going on with the location of the Directory name,
>> (e.g. maybe spaces in the path ?), or maybe a mixture of extraneous
>>
>>
>> files in the DICOM directory.
>>
>>
>>
>>    HTH
>>
>>
>>
>>
>>
>>        Luis
>>
>>
>>
>>
>>  On Tue, Feb 25, 2014 at 8:22 AM, Alok <alok.theanomaly at gmail.com> wrote:
>>
>>>
>>>
>>> Hi,
>>>
>>> I have a problem reading in DiCOM image series when running ITK on
>>> Ubuntu 13.10 (32-bit)
>>>
>>> I have a DICOM image series and I am trying to run the ResampleDICOM
>>> example here - http://www.itk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM
>>>
>>> *At runtime* I get an error which looks like :
>>> WARNING: In
>>> .../InsightToolkit-4.3.1/Modules/IO/GDCM/src/itkGDCMSeriesFileNames.cxx,
>>> line 114
>>> GDCMSeriesFileNames (0xa12e9e0): No Series can be found, make sure your
>>> restrictions are not too strong
>>>
>>> Exception thrown while reading the series
>>>
>>> itk::ExceptionObject (0xa133fe8)
>>> Location: "unknown"
>>> File: /usr/local/include/ITK-4.3/itkImageSeriesReader.hxx
>>> Line: 131
>>> Description: itk::ERROR: ImageSeriesReader(0xa1312a0): At least one
>>> filename is required.
>>>
>>>
>>> When I run it on a machine with Ubuntu 12.04 (using the same DICOM
>>> series) it runs through - The output is as below:
>>>
>>> The input series in directory /home/alok/data/HSSPlan/Left/dicom/ has
>>> 219 files with spacing [0.347656, 0.347656, 1]
>>> The output series in directory ./output/ has 219 files with spacing
>>> [0.347656, 1, 1]
>>>
>>> Any suggestions/comments much appreciated
>>>
>>> Thanks
>>> Alok
>>>
>>>
>>>
>>> --
>>> I live a simple life...  in 0s and 1s !
>>>
>>>
>>>
>>> --
>>> I live a simple life...  in 0s and 1s !
>>>
>>> _______________________________________________
>>> Community mailing list
>>> Community at itk.org
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>>>
>>>
>>
>
>
> --
> I live a simple life...  in 0s and 1s !
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140225/cc4536b5/attachment-0002.html>


More information about the Community mailing list