[Insight-users] how check if dicom exist
mariusz_smch at poczta.fm
mariusz_smch at poczta.fm
Fri Oct 7 02:16:37 EDT 2005
Hi all
I have question:
How check if i have DICOM series in dir?
(...)
typedef itk::Image< PixelType, Dimension > ImageType;
typedef itk::ImageSeriesReader< ImageType > ReaderType;
typedef itk::GDCMImageIO ImageIOType;
typedef itk::GDCMSeriesFileNames NamesGeneratorType;
ImageIOType::Pointer gdcmIO = ImageIOType::New();
NamesGeneratorType::Pointer namesGenerator = NamesGeneratorType::New();
namesGenerator->SetInputDirectory( argv1 );
const ReaderType::FileNamesContainer & filenames = namesGenerator->GetInputFileNames(); <- in this place program crash -if I provide dir wher is not series.
(...)
Regard
Mariusz Śmiech
Poland
----------------------------------------------------------------------
Wszystko, co w Internecie jest o motoryzacji...
>>> http://link.interia.pl/f18bb
More information about the Insight-users
mailing list