[ITK] [ITK-users] Can't iterate over MetadataDictionary from GDCMImageIO

Matt McCormick matt.mccormick at kitware.com
Sat Aug 29 20:28:02 EDT 2015


On Sat, Aug 29, 2015 at 6:40 PM, Marcos <fotosentido at gmail.com> wrote:
> Hi,
>
> I did that, but it gives me the error:
>
> itk::ExceptionObject <...>
> Location: "void __thiscall itk::ImageSeriesReader<class
> itk::Image<short,3>::GenerateOutputInformation(void)"
> File ...ImageSeriesReader.hxx: Line 122
> At least one filename is required.
>
> Instead of ./ExternalData/Testing/Data/Input/DicomSeries (which is a
> directory), I've tried a dcm file, for example. The error is the same.
>
> I'm on Windows, so I did on cmd:
>
>
> C:\ITK-4.8.0-build> bin\Debug\DicomSeriesReadPrintTags.exe
> /ExternalData/Testing/Data/Input/DicomSeries

It needs to be ./ExternalData instead of /ExternalData.

Check that the files are there with the "dir" command.

HTH,
Matt
_____________________________________
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.php

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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list