diff OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h @ 4777:3b78ba359db3

Support detection of windowing and rescale in Philips multiframe images
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Aug 2021 11:41:05 +0200
parents 9f207131c7f4
children 7053502fbf97
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h	Mon Aug 30 10:25:50 2021 +0200
+++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h	Mon Aug 30 11:41:05 2021 +0200
@@ -286,8 +286,16 @@
     void ClearPath(const DicomPath& path,
                    bool onlyIfExists);
 
-    bool LookupSubSequence(DicomMap& target,
-                           const DicomPath& path,
-                           size_t sequenceIndex) const;
+    bool LookupSequenceItem(DicomMap& target,
+                            const DicomPath& path,
+                            size_t sequenceIndex) const;
+
+    void GetDefaultWindowing(double& windowCenter,
+                             double& windowWidth,
+                             unsigned int frame) const;
+
+    void GetRescale(double& rescaleIntercept,
+                    double& rescaleSlope,
+                    unsigned int frame) const;
   };
 }