The Serie UID got reading the file corresponds to the less detailed serie UID of the itk::GDCMSeriesFileNames
//Get GDCMSeriesFileNames order to sort filenames
typedef itk::GDCMSeriesFileNames NamesGeneratorType;
NamesGeneratorType::Pointer nameGenerator = NamesGeneratorType::New();
//Get GDCMSeriesFileNames order to sort filenames
typedef itk::GDCMSeriesFileNames NamesGeneratorType;
NamesGeneratorType::Pointer nameGenerator = NamesGeneratorType::New();
- nameGenerator->SetUseSeriesDetails(true);
+ nameGenerator->SetUseSeriesDetails(false);
std::string folderName=".";
const size_t last_slash_idx = input_files[0].rfind('/');
if (std::string::npos != last_slash_idx)
std::string folderName=".";
const size_t last_slash_idx = input_files[0].rfind('/');
if (std::string::npos != last_slash_idx)