comparison Core/DicomFormat/DicomIntegerPixelAccessor.cpp @ 1908:5096681efce6

direct hyperlinks to the DICOM standard
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 Jan 2016 11:36:47 +0100
parents b1291df2f780
children 6c73df12ca51
comparison
equal deleted inserted replaced
1907:5011a597b6ce 1908:5096681efce6
135 channel < information_.GetChannelCount()); 135 channel < information_.GetChannelCount());
136 136
137 const uint8_t* pixel = reinterpret_cast<const uint8_t*>(pixelData_) + 137 const uint8_t* pixel = reinterpret_cast<const uint8_t*>(pixelData_) +
138 y * rowOffset_ + frame_ * frameOffset_; 138 y * rowOffset_ + frame_ * frameOffset_;
139 139
140 // https://www.dabsoft.ch/dicom/3/C.7.6.3.1.3/ 140 // http://dicom.nema.org/medical/dicom/current/output/html/part03.html#sect_C.7.6.3.1.3
141 if (information_.IsPlanar()) 141 if (information_.IsPlanar())
142 { 142 {
143 /** 143 /**
144 * Each color plane shall be sent contiguously. For RGB images, 144 * Each color plane shall be sent contiguously. For RGB images,
145 * this means the order of the pixel values sent is R1, R2, R3, 145 * this means the order of the pixel values sent is R1, R2, R3,