Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp @ 4312:6d49e3b6ff77
fix abi of DicomImageInformation
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 09 Nov 2020 15:22:43 +0100 |
parents | cb9aef006229 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp Mon Nov 09 15:07:55 2020 +0100 +++ b/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp Mon Nov 09 15:22:43 2020 +0100 @@ -252,7 +252,7 @@ DicomMap m; std::set<DicomTag> ignoreTagLength; - FromDcmtkBridge::ExtractDicomSummary(m, dataset, DicomImageInformation::USEFUL_TAG_LENGTH, ignoreTagLength); + FromDcmtkBridge::ExtractDicomSummary(m, dataset, DicomImageInformation::GetUsefulTagLength(), ignoreTagLength); /** * Create an accessor to the raw values of the DICOM image. @@ -325,7 +325,7 @@ { DicomMap m; std::set<DicomTag> ignoreTagLength; - FromDcmtkBridge::ExtractDicomSummary(m, dataset, DicomImageInformation::USEFUL_TAG_LENGTH, ignoreTagLength); + FromDcmtkBridge::ExtractDicomSummary(m, dataset, DicomImageInformation::GetUsefulTagLength(), ignoreTagLength); DicomImageInformation info(m); PixelFormat format; @@ -614,7 +614,7 @@ DicomMap m; std::set<DicomTag> ignoreTagLength; - FromDcmtkBridge::ExtractDicomSummary(m, dataset, DicomImageInformation::USEFUL_TAG_LENGTH, ignoreTagLength); + FromDcmtkBridge::ExtractDicomSummary(m, dataset, DicomImageInformation::GetUsefulTagLength(), ignoreTagLength); DicomImageInformation info(m); std::unique_ptr<ImageAccessor> target(CreateImage(dataset, true));