Mathieu Malaterre pushed to branch master at Debian Med / gdcm
Commits: b736dc5f by Andreas Tille at 2022-10-25T11:35:00+02:00 New upstream version 3.0.17 - - - - - e5299e8f by Mathieu Malaterre at 2023-01-05T08:08:27+01:00 New upstream version 3.0.20 - - - - - a47b3374 by Mathieu Malaterre at 2023-01-29T13:04:17+01:00 New upstream version 3.0.21 - - - - - 03446e84 by Mathieu Malaterre at 2023-01-29T13:04:18+01:00 Update upstream source from tag 'upstream/3.0.21' Update to upstream version '3.0.21' with Debian dir d15e1cf00da90788ee76970040e33e56b0b0566c - - - - - 8845a7fa by Mathieu Malaterre at 2023-01-29T15:21:50+01:00 d/changelog: Upload 3.0.21-1 to unstable - - - - - 4 changed files: - .github/workflows/c-cpp.yml - CMakeLists.txt - Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx - debian/changelog Changes: ===================================== .github/workflows/c-cpp.yml ===================================== @@ -19,7 +19,7 @@ jobs: submodules: true fetch-depth: 2 - name: configure - run: cmake -DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=None -B build + run: cmake -DGDCM_BUILD_SHARED_LIBS=ON -DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=None -B build - name: make run: cmake --build build - name: make check ===================================== CMakeLists.txt ===================================== @@ -17,7 +17,7 @@ endif() #---------------------------------------------------------------------------- project(GDCM - VERSION 3.0.20 + VERSION 3.0.21 LANGUAGES CXX C ) ## NOTE: the "DESCRIPTION" feature of project() was introduced in cmake 3.10.0 ===================================== Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx ===================================== @@ -1174,7 +1174,7 @@ std::vector<double> ImageHelper::GetRescaleInterceptSlopeValue(File const & f) interceptslope[1] = el_rs.GetValue(); if( interceptslope[1] == 0 ) interceptslope[1] = 1; - gdcmWarningMacro( "PMS Modality LUT loaded for MR Image Storage: [" << interceptslope[0] << "," << interceptslope[1] << "]" ); + gdcmDebugMacro( "PMS Modality LUT loaded for MR Image Storage: [" << interceptslope[0] << "," << interceptslope[1] << "]" ); } } else @@ -1182,8 +1182,13 @@ std::vector<double> ImageHelper::GetRescaleInterceptSlopeValue(File const & f) std::vector<double> dummy(2); if( GetRescaleInterceptSlopeValueFromDataSet(ds, dummy) ) { - // for everyone else, read your DCS, and set: ForceRescaleInterceptSlope = true if needed - gdcmDebugMacro( "Modality LUT unused for MR Image Storage: [" << dummy[0] << "," << dummy[1] << "]" ); + if(dummy[0] != 0 || dummy[1] != 1) { + // SIEMENS is sending MFSPLIT with Modality LUT + // Case is: MAGNETOM Prisma / syngo MR XA30A with MFSPLIT + interceptslope[0] = dummy[0]; + interceptslope[1] = dummy[1]; + gdcmWarningMacro( "Forcing Modality LUT used for MR Image Storage: [" << dummy[0] << "," << dummy[1] << "]" ); + } } } #endif @@ -2477,7 +2482,7 @@ bool ImageHelper::GetRealWorldValueMappingContent(File const & f, RealWorldValue ms.SetFromFile(f); const DataSet& ds = f.GetDataSet(); - if( ms == MediaStorage::MRImageStorage ) + if( ms == MediaStorage::MRImageStorage || ms == MediaStorage::NuclearMedicineImageStorage ) { const Tag trwvms(0x0040,0x9096); // Real World Value Mapping Sequence if( ds.FindDataElement( trwvms ) ) ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +gdcm (3.0.21-1) unstable; urgency=medium + + * Team upload. + * New upstream version 3.0.21 + + -- Mathieu Malaterre <ma...@debian.org> Sun, 29 Jan 2023 15:21:24 +0100 + gdcm (3.0.20-3) unstable; urgency=medium * d/python3-vtkgdcm: Fix hard-coded install path View it on GitLab: https://salsa.debian.org/med-team/gdcm/-/compare/f3836363d5f1bdb09901df6bf9a242c7d7b3ebd6...8845a7fa2591e1aab4efda1fd86b58d21fa05849 -- View it on GitLab: https://salsa.debian.org/med-team/gdcm/-/compare/f3836363d5f1bdb09901df6bf9a242c7d7b3ebd6...8845a7fa2591e1aab4efda1fd86b58d21fa05849 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list debian-med-com...@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit