diff UnitTestsSources/FromDcmtkTests.cpp @ 2107:88831c3edd8f

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Oct 2016 17:22:09 +0200
parents 8e67325eaa3f
children a657f7772e69
line wrap: on
line diff
--- a/UnitTestsSources/FromDcmtkTests.cpp	Mon Oct 17 15:36:50 2016 +0200
+++ b/UnitTestsSources/FromDcmtkTests.cpp	Wed Oct 19 17:22:09 2016 +0200
@@ -818,7 +818,7 @@
 {
   static const char* PATH = "UnitTestsResults/PatternGrayscale8.dcm";
 
-  Orthanc::Image image(Orthanc::PixelFormat_Grayscale8, 256, 256);
+  Orthanc::Image image(Orthanc::PixelFormat_Grayscale8, 256, 256, false);
 
   for (int y = 0; y < 256; y++)
   {
@@ -871,7 +871,7 @@
 {
   static const char* PATH = "UnitTestsResults/PatternRGB24.dcm";
 
-  Orthanc::Image image(Orthanc::PixelFormat_RGB24, 384, 256);
+  Orthanc::Image image(Orthanc::PixelFormat_RGB24, 384, 256, false);
 
   for (int y = 0; y < 256; y++)
   {
@@ -933,7 +933,7 @@
 {
   static const char* PATH = "UnitTestsResults/PatternGrayscale16.dcm";
 
-  Orthanc::Image image(Orthanc::PixelFormat_Grayscale16, 256, 256);
+  Orthanc::Image image(Orthanc::PixelFormat_Grayscale16, 256, 256, false);
 
   uint16_t v = 0;
   for (int y = 0; y < 256; y++)
@@ -987,7 +987,7 @@
 {
   static const char* PATH = "UnitTestsResults/PatternSignedGrayscale16.dcm";
 
-  Orthanc::Image image(Orthanc::PixelFormat_SignedGrayscale16, 256, 256);
+  Orthanc::Image image(Orthanc::PixelFormat_SignedGrayscale16, 256, 256, false);
 
   int16_t v = -32768;
   for (int y = 0; y < 256; y++)