DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
Template class to rotate monochrome images (on pixel data level). More...
Public Member Functions | |
DiMonoRotateTemplate (const DiMonoPixel *pixel, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int degree) | |
constructor | |
~DiMonoRotateTemplate () | |
destructor | |
Private Member Functions | |
void | rotate (const T *pixel, const int degree) |
rotate pixel data |
Template class to rotate monochrome images (on pixel data level).
by steps of 90 degrees
DiMonoRotateTemplate< T >::DiMonoRotateTemplate | ( | const DiMonoPixel * | pixel, |
const Uint16 | src_cols, | ||
const Uint16 | src_rows, | ||
const Uint16 | dest_cols, | ||
const Uint16 | dest_rows, | ||
const Uint32 | frames, | ||
const int | degree | ||
) | [inline] |
constructor
pixel | pointer to intermediate pixel representation |
src_cols | width of clipping area |
src_rows | height of clipping area |
dest_cols | width of destination image (scaled image) |
dest_rows | height of destination image |
frames | number of frames |
degree | angle by which the pixel data should be rotated |
void DiMonoRotateTemplate< T >::rotate | ( | const T * | pixel, |
const int | degree | ||
) | [inline, private] |
rotate pixel data
pixel | pointer to pixel data to be rotated |
degree | angle by which the pixel data should be rotated |