Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp @ 4781:235d3a9f8dec
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Aug 2021 18:16:53 +0200 |
parents | 3b78ba359db3 |
children | 7053502fbf97 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp Mon Aug 30 12:13:05 2021 +0200 +++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp Mon Aug 30 18:16:53 2021 +0200 @@ -1861,8 +1861,8 @@ dataset.findAndGetString(DCM_RescaleSlope, slope).good() && intercept != NULL && slope != NULL && - SerializationToolbox::ParseFirstDouble(rescaleIntercept, intercept) && - SerializationToolbox::ParseFirstDouble(rescaleSlope, slope)) + SerializationToolbox::ParseDouble(rescaleIntercept, intercept) && + SerializationToolbox::ParseDouble(rescaleSlope, slope)) { return; // OK } @@ -1874,8 +1874,8 @@ item2->findAndGetString(DCM_RescaleSlope, slope).good() && intercept != NULL && slope != NULL && - SerializationToolbox::ParseFirstDouble(rescaleIntercept, intercept) && - SerializationToolbox::ParseFirstDouble(rescaleSlope, slope)) + SerializationToolbox::ParseDouble(rescaleIntercept, intercept) && + SerializationToolbox::ParseDouble(rescaleSlope, slope)) { // New in Orthanc 1.9.7, to deal with Philips multiframe images // (cf. private mail from Tomas Kenda on 2021-08-17)