From: tbaudier Date: Wed, 9 Mar 2016 16:21:10 +0000 (+0100) Subject: Ensure to have the same series UID while writing a Dicom serie X-Git-Tag: v1.4.0~31 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=32c9944c7fca829d4bec2d0121e595ab8d03adb2;p=clitk.git Ensure to have the same series UID while writing a Dicom serie --- diff --git a/tools/clitkWriteDicomSeriesGenericFilter.txx b/tools/clitkWriteDicomSeriesGenericFilter.txx index 2477aaf..f30947f 100644 --- a/tools/clitkWriteDicomSeriesGenericFilter.txx +++ b/tools/clitkWriteDicomSeriesGenericFilter.txx @@ -153,6 +153,8 @@ WriteDicomSeriesGenericFilter::UpdateWithDimAndPixelType() // Read the series typename ReaderType::Pointer reader = ReaderType::New(); + gdcmIO->LoadPrivateTagsOn(); + gdcmIO->KeepOriginalUIDOn(); reader->SetImageIO( gdcmIO ); reader->SetFileNames( filenames_in ); try {