33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/ofstd/oftypes.h"
35 #include "dcmtk/ofstd/ofcast.h"
37 #include "dcmtk/dcmimgle/dimopxt.h"
38 #include "dcmtk/dcmimgle/diflipt.h"
71 :
DiMonoPixelTemplate<T>(pixel, OFstatic_cast(unsigned long, columns) * OFstatic_cast(unsigned long, rows) * frames),
74 if ((pixel != NULL) && (pixel->
getCount() > 0))
76 if (pixel->
getCount() == OFstatic_cast(
unsigned long, columns) * OFstatic_cast(
unsigned long, rows) * frames)
77 flip(OFstatic_cast(
const T *, pixel->
getData()), horz, vert);
79 DCMIMGLE_WARN(
"could not flip image ... corrupted data");
99 inline void flip(
const T *pixel,
106 if (this->
Data != NULL)