]> Creatis software - clitk.git/commitdiff
Do not use Series Details
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Fri, 11 Jan 2019 10:56:39 +0000 (11:56 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Fri, 11 Jan 2019 10:56:39 +0000 (11:56 +0100)
The Serie UID got reading the file corresponds to the less detailed serie UID of the itk::GDCMSeriesFileNames

tools/clitkDicom2Image.cxx

index 066aaf84d3b98b61d090a0f359d671084145e6a7..d32fbae019e1ca525c30044f7363fbe0d1924adc 100644 (file)
@@ -60,7 +60,7 @@ int main(int argc, char * argv[])
   //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)