[Insight-users] GDCMSeriesFileNames

Martin Urschler martin at urschler.info
Wed Sep 28 10:33:09 EDT 2005


hi

i found an inconsistency in itkGDCMSeriesFileNames which troubled me 
when trying to choose series ids

there are actually two strings that store the input directory, i.e. 
m_Directory and m_InputDirectory
in the itkGDCMSeriesFileNames.cxx code these two strings are used at 
separate places

imho there should only be one variable storing the directory name, 
which should be used everywhere i found this bug when setting the 
directory with SetDirectory (this sets m_Directory) and trying to fetch 
the series uids, which afterwards were tried to be read from the 
directory m_InputDirectory
the result was a segfault

regards,
Martin



More information about the Insight-users mailing list