Mercurial > hg > orthanc
changeset 4781:235d3a9f8dec
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Aug 2021 18:16:53 +0200 |
parents | ebb801d44e06 |
children | ba1bebbd75d2 |
files | OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
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)