changeset 4835:f3f93695d6df

fix numpy for SignedGrasycale16
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 27 Nov 2021 12:27:01 +0100
parents bec432ee1094
children ec1e9571b645
files OrthancFramework/Sources/Images/NumpyWriter.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/Images/NumpyWriter.cpp	Fri Nov 26 19:03:32 2021 +0100
+++ b/OrthancFramework/Sources/Images/NumpyWriter.cpp	Sat Nov 27 12:27:01 2021 +0100
@@ -82,7 +82,7 @@
         break;
 
       case PixelFormat_SignedGrayscale16:
-        datatype += "s2";
+        datatype += "i2";
         channels = 1;
         break;