33 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/dcmimage/dicopxt.h"
36 #include "dcmtk/dcmimgle/diinpx.h"
45 template<
class T1,
class T2>
63 const unsigned long planeSize,
67 if ((pixel != NULL) && (this->
Count > 0) && (status == EIS_Normal))
87 const unsigned long planeSize,
90 if (this->
Init(pixel))
96 register const T1 *p = pixel;
113 register unsigned long l;
114 register unsigned long i = 0;
118 const unsigned long iStart = i;
120 for (
int j = 0; j < 3; ++j)
123 for (l = planeSize, i = iStart; (l != 0) && (i < count); --l, ++i)
124 this->
Data[j][i] = removeSign(*(p++), offset);
131 register unsigned long i;
132 for (i = 0; i < count; ++i)
133 for (j = 0; j < 3; ++j)
134 this->
Data[j][i] = removeSign(*(p++), offset);