changeset 2838:f3a2d109e361

new orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 21 Sep 2018 15:48:40 +0200
parents 9451431582e3
children 0d8b753317b2
files Core/DicomFormat/DicomImageInformation.cpp Resources/DownloadOrthancFramework.cmake
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Core/DicomFormat/DicomImageInformation.cpp	Thu Sep 20 16:18:00 2018 +0200
+++ b/Core/DicomFormat/DicomImageInformation.cpp	Fri Sep 21 15:48:40 2018 +0200
@@ -253,6 +253,12 @@
         format = PixelFormat_SignedGrayscale16;
         return true;
       }
+      
+      if (GetBitsAllocated() == 32 && GetChannelCount() == 1 && !IsSigned())
+      {
+        format = PixelFormat_Grayscale32;
+        return true;
+      }
     }
 
     if (GetBitsStored() == 8 && 
--- a/Resources/DownloadOrthancFramework.cmake	Thu Sep 20 16:18:00 2018 +0200
+++ b/Resources/DownloadOrthancFramework.cmake	Fri Sep 21 15:48:40 2018 +0200
@@ -87,6 +87,8 @@
         set(ORTHANC_FRAMEWORK_MD5 "d0ccdf68e855d8224331f13774992750")
       elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.4.0")
         set(ORTHANC_FRAMEWORK_MD5 "81e15f34d97ac32bbd7d26e85698835a")
+      elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.4.2")
+        set(ORTHANC_FRAMEWORK_MD5 "d1ee84927dcf668e60eb5868d24b9394")
       endif()
     endif()
   endif()