33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/ofstd/ofcast.h"
36 #include "dcmtk/dcmimgle/dimopxt.h"
37 #include "dcmtk/dcmimgle/dirotat.h"
66 const Uint16 src_cols,
67 const Uint16 src_rows,
68 const Uint16 dest_cols,
69 const Uint16 dest_rows,
72 :
DiMonoPixelTemplate<T>(pixel, OFstatic_cast(unsigned long, dest_cols) * OFstatic_cast(unsigned long, dest_rows) * frames),
75 if ((pixel != NULL) && (pixel->
getCount() > 0))
77 if (pixel->
getCount() == OFstatic_cast(
unsigned long, src_cols) * OFstatic_cast(
unsigned long, src_rows) * frames)
80 DCMIMGLE_WARN(
"could not rotate image ... corrupted data");
105 if (this->
Data != NULL)
109 else if (degree == 180)
111 else if (degree == 270)