[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
More information about the Insight-users
mailing list