Codebase list gdcm / 03446e8
Update upstream source from tag 'upstream/3.0.21' Update to upstream version '3.0.21' with Debian dir d15e1cf00da90788ee76970040e33e56b0b0566c Mathieu Malaterre 1 year, 3 months ago
3 changed file(s) with 11 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
1818 submodules: true
1919 fetch-depth: 2
2020 - name: configure
21 run: cmake -DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=None -B build
21 run: cmake -DGDCM_BUILD_SHARED_LIBS=ON -DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=None -B build
2222 - name: make
2323 run: cmake --build build
2424 - name: make check
1616 #----------------------------------------------------------------------------
1717
1818 project(GDCM
19 VERSION 3.0.20
19 VERSION 3.0.21
2020 LANGUAGES CXX C
2121 )
2222 ## NOTE: the "DESCRIPTION" feature of project() was introduced in cmake 3.10.0
11731173 interceptslope[1] = el_rs.GetValue();
11741174 if( interceptslope[1] == 0 )
11751175 interceptslope[1] = 1;
1176 gdcmWarningMacro( "PMS Modality LUT loaded for MR Image Storage: [" << interceptslope[0] << "," << interceptslope[1] << "]" );
1176 gdcmDebugMacro( "PMS Modality LUT loaded for MR Image Storage: [" << interceptslope[0] << "," << interceptslope[1] << "]" );
11771177 }
11781178 }
11791179 else
11811181 std::vector<double> dummy(2);
11821182 if( GetRescaleInterceptSlopeValueFromDataSet(ds, dummy) )
11831183 {
1184 // for everyone else, read your DCS, and set: ForceRescaleInterceptSlope = true if needed
1185 gdcmDebugMacro( "Modality LUT unused for MR Image Storage: [" << dummy[0] << "," << dummy[1] << "]" );
1184 if(dummy[0] != 0 || dummy[1] != 1) {
1185 // SIEMENS is sending MFSPLIT with Modality LUT
1186 // Case is: MAGNETOM Prisma / syngo MR XA30A with MFSPLIT
1187 interceptslope[0] = dummy[0];
1188 interceptslope[1] = dummy[1];
1189 gdcmWarningMacro( "Forcing Modality LUT used for MR Image Storage: [" << dummy[0] << "," << dummy[1] << "]" );
1190 }
11861191 }
11871192 }
11881193 #endif
24762481 ms.SetFromFile(f);
24772482 const DataSet& ds = f.GetDataSet();
24782483
2479 if( ms == MediaStorage::MRImageStorage )
2484 if( ms == MediaStorage::MRImageStorage || ms == MediaStorage::NuclearMedicineImageStorage )
24802485 {
24812486 const Tag trwvms(0x0040,0x9096); // Real World Value Mapping Sequence
24822487 if( ds.FindDataElement( trwvms ) )