comparison OrthancFramework/Sources/DicomFormat/DicomIntegerPixelAccessor.cpp @ 4902:df86d2505df8

Orthanc 1.9.8 is now known as Orthanc 1.10.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 20 Feb 2022 16:57:43 +0100
parents 43e613a7756b
children 0ea402b4d901
comparison
equal deleted inserted replaced
4901:0bb73ef7cf07 4902:df86d2505df8
155 const uint8_t* pixel = (reinterpret_cast<const uint8_t*>(pixelData_) + 155 const uint8_t* pixel = (reinterpret_cast<const uint8_t*>(pixelData_) +
156 y * rowOffset_ + frame_ * frameOffset_); 156 y * rowOffset_ + frame_ * frameOffset_);
157 157
158 if (information_.GetBitsStored() == 1) 158 if (information_.GetBitsStored() == 1)
159 { 159 {
160 // New in Orthanc 1.9.8, notably for DICOM SEG 160 // New in Orthanc 1.10.0, notably for DICOM SEG
161 assert(information_.GetBitsAllocated() == 1 && 161 assert(information_.GetBitsAllocated() == 1 &&
162 information_.GetChannelCount() == 1 && 162 information_.GetChannelCount() == 1 &&
163 !information_.IsPlanar()); 163 !information_.IsPlanar());
164 164
165 uint8_t b = pixel[x / 8]; 165 uint8_t b = pixel[x / 8];