Mercurial > hg > orthanc-stone
diff Framework/Toolbox/DicomInstanceParameters.h @ 1159:acb399643945 broker
DicomInstanceParameters::ApplyRescale()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 18 Nov 2019 15:24:36 +0100 |
parents | 7681f3943748 |
children | 19b1c8caade4 |
line wrap: on
line diff
--- a/Framework/Toolbox/DicomInstanceParameters.h Sun Nov 17 11:37:47 2019 +0100 +++ b/Framework/Toolbox/DicomInstanceParameters.h Mon Nov 18 15:24:36 2019 +0100 @@ -71,8 +71,10 @@ bool IsPlaneWithinSlice(unsigned int frame, const CoordinateSystem3D& plane) const; - void ApplyRescaleAndDoseScaling( - Orthanc::ImageAccessor& image, bool useDouble) const; + void ApplyRescaleAndDoseScaling(Orthanc::ImageAccessor& image, + bool useDouble) const; + + double ApplyRescale(double value) const; }; @@ -211,5 +213,10 @@ { return data_.doseGridScaling_; } + + double ApplyRescale(double value) const + { + return data_.ApplyRescale(value); + } }; }