[ITK-users] Can't iterate over MetadataDictionary from GDCMImageIO
Marcos
fotosentido at gmail.com
Sun Aug 30 06:04:53 EDT 2015
I got it:
I created a new GDCMImageIO::Pointer (inside another method), instead of
using the one that let me read the file. That was the reason.
Sorry for not seeing it before.
Thanks, as always, for your time.
2015-08-30 11:42 GMT+02:00 Marcos <fotosentido at gmail.com>:
> You're right, these were only .md5 files
>
> I built it again and now I have dcm files.
>
> And yes, I can see tags.
>
> So I don't understand why I can't get into that while loop. It's just a
> few lines of code, it compiles... It's not really a big thing.
>
> I guess I'm missing something.
>
> 2015-08-30 2:28 GMT+02:00 Matt McCormick <matt.mccormick at kitware.com>:
>
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20150830/c02b1cf3/attachment.html>
More information about the Insight-users
mailing list