diff Core/DicomFormat/DicomImageInformation.cpp @ 860:80c7e53a69b5 jpeg

bugfix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 07 Jun 2014 10:32:15 +0200
parents f53358c70c05
children 3c0d0836f704
line wrap: on
line diff
--- a/Core/DicomFormat/DicomImageInformation.cpp	Fri Jun 06 18:12:31 2014 +0200
+++ b/Core/DicomFormat/DicomImageInformation.cpp	Sat Jun 07 10:32:15 2014 +0200
@@ -150,7 +150,7 @@
       throw OrthancException(ErrorCode_NotImplemented);
     }
 
-    bytesPerPixel_ = bitsAllocated_ / 8;
+    bytesPerValue_ = bitsAllocated_ / 8;
 
     isPlanar_ = (planarConfiguration != 0 ? true : false);
     isSigned_ = (pixelRepresentation != 0 ? true : false);