From: tbaudier Date: Fri, 11 Jan 2019 10:56:39 +0000 (+0100) Subject: Do not use Series Details X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=cd904bc3cb27133a8a556c13c21a37d6415a6cc8;p=clitk.git Do not use Series Details The Serie UID got reading the file corresponds to the less detailed serie UID of the itk::GDCMSeriesFileNames --- diff --git a/tools/clitkDicom2Image.cxx b/tools/clitkDicom2Image.cxx index 066aaf8..d32fbae 100644 --- a/tools/clitkDicom2Image.cxx +++ b/tools/clitkDicom2Image.cxx @@ -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)