diff Core/DicomFormat/DicomValue.cpp @ 3690:a9ce35d67c3c

implementation of "/instances/.../rendered" for grayscale images
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Feb 2020 13:57:43 +0100
parents 94f4a18a79cc
children
line wrap: on
line diff
--- a/Core/DicomFormat/DicomValue.cpp	Tue Feb 25 11:07:56 2020 +0100
+++ b/Core/DicomFormat/DicomValue.cpp	Tue Feb 25 13:57:43 2020 +0100
@@ -231,6 +231,11 @@
     return ParseValue<double, true>(result, *this);
   }
 
+  bool DicomValue::ParseFirstFloat(float& result) const
+  {
+    return ParseFirstValue<float, true>(result, *this);
+  }
+
   bool DicomValue::ParseFirstUnsignedInteger(unsigned int& result) const
   {
     return ParseFirstValue<unsigned int, true>(result, *this);