[Insight-users] ERROR in GDCMSeriesFileNames (0xa2454f8): No Series can be found,

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon May 9 01:59:02 EDT 2011


saharaug,

  As Jean-Pierre just said, this looks like a bug I recently worked
on. If you are using ITK 3.20 with GDCM 1.2.x, then you should modify
the DicomSeriesReadPrintTags.cxx example like this:

  NamesGeneratorType::Pointer nameGenerator = NamesGeneratorType::New();
+  nameGenerator->SetLoadSequences( true );
+  nameGenerator->SetLoadPrivateTags( true );
  nameGenerator->SetInputDirectory( argv[1] );

  If this still does not work for you, simply give ITKv4 a try, this
comes with GDCM 2.x a different implementation from GDCM 1.2.x...

HTH

On Fri, May 6, 2011 at 9:18 PM, saharaug <sahargh at augsignals.com> wrote:
>
> Hi,
>
> I'm using itk example DicomSeriesReadPrintTags.cxx to read in a dicom series
> from a folder. It works for one folder but fails for another, throwing
> warning:
>
> WARNING: In ~/.../InsightToolkit-3.20.0/Code/IO/itkGDCMSeriesFileNames.cxx,
> line 119
> GDCMSeriesFileNames (0xa2454f8): No Series can be found, make sure your
> restrictions are not too strong
>
> itk::ExceptionObject (0xa24c260)
> Location: "void
> itk::ImageSeriesReader<TOutputImage>::GenerateOutputInformation() [with
> TOutputImage = itk::Image<short int, 3u>]"
> File: ~/.../extern/include/InsightToolkit/IO/itkImageSeriesReader.txx
> Line: 134
> Description: itk::ERROR: ImageSeriesReader(0xa2429c0): At least one filename
> is required.
>
> These 2 folders both contains a series of dicom images starting from index 1
> with consecutive indices. I can load them both in imagej and see that in
> both folders, all images have the same Study Instance UID (0020|000D),
> Series Instance UID (0020|000E),Study ID,Series Number.
> I can't figure out what is different between these 2 folders and how I can
> make itk to read in my seires.
> Thanks in advance for your help.
> Sahar
>
> P.S. I have also tried doing as Luis said in
> http://old.nabble.com/GDCMSeriesFileNames.cxx-%22No-Series-were-found%22-error-help--to29920397.html#a29982878
>
> But even with the first image I get the same warning!
> Any idea what's causing this and how to solve it?
> Thanks
>
> --
> View this message in context: http://old.nabble.com/ERROR-in-GDCMSeriesFileNames-%280xa2454f8%29%3A-No-Series-can-be-found%2C-tp31560669p31560669.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
>
> _____________________________________
> 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
>



-- 
Mathieu


More information about the Insight-users mailing list