comparison 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
comparison
equal deleted inserted replaced
859:610a9a1ed855 860:80c7e53a69b5
148 if (samplesPerPixel_ == 0) 148 if (samplesPerPixel_ == 0)
149 { 149 {
150 throw OrthancException(ErrorCode_NotImplemented); 150 throw OrthancException(ErrorCode_NotImplemented);
151 } 151 }
152 152
153 bytesPerPixel_ = bitsAllocated_ / 8; 153 bytesPerValue_ = bitsAllocated_ / 8;
154 154
155 isPlanar_ = (planarConfiguration != 0 ? true : false); 155 isPlanar_ = (planarConfiguration != 0 ? true : false);
156 isSigned_ = (pixelRepresentation != 0 ? true : false); 156 isSigned_ = (pixelRepresentation != 0 ? true : false);
157 } 157 }
158 158