Skip to content

Commit

Permalink
Hide the PMS Rescale Intercept/Slope from the default behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
malaterre committed Oct 23, 2018
1 parent 7745548 commit 2e701ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ std::vector<double> ImageHelper::GetRescaleInterceptSlopeValue(File const & f)

// Workaround to get intercept/slope from some Philips
// XRay3DAngiographic files
if (ms == MediaStorage::XRay3DAngiographicImageStorage)
if (ms == MediaStorage::XRay3DAngiographicImageStorage && ForceRescaleInterceptSlope)
{
const Tag t3(0x0018,0x9530);
if(ds.FindDataElement( t3 ))
Expand Down

0 comments on commit 2e701ed

Please sign in to comment.