diff Framework/Toolbox/DicomFrameConverter.h @ 148:c6a464c266dd wasm

accessors
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Jan 2018 15:30:51 +0100
parents e2fe9352f240
children fccffbf99ba1
line wrap: on
line diff
--- a/Framework/Toolbox/DicomFrameConverter.h	Tue Jan 23 17:50:19 2018 +0100
+++ b/Framework/Toolbox/DicomFrameConverter.h	Wed Jan 24 15:30:51 2018 +0100
@@ -73,6 +73,16 @@
       return defaultWindowWidth_;
     }
 
+    double GetRescaleIntercept() const
+    {
+      return rescaleIntercept_;
+    }
+      
+    double GetRescaleSlope() const
+    {
+      return rescaleSlope_;
+    }
+
     void ConvertFrame(std::auto_ptr<Orthanc::ImageAccessor>& source) const;
 
     void ApplyRescale(Orthanc::ImageAccessor& image,