DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
Template class to flip monochrome images (on pixel data level) horizontally and vertically. More...
Public Member Functions | |
DiMonoFlipTemplate (const DiMonoPixel *pixel, const Uint16 columns, const Uint16 rows, const Uint32 frames, const int horz, const int vert) | |
constructor | |
~DiMonoFlipTemplate () | |
destructor | |
Private Member Functions | |
void | flip (const T *pixel, const int horz, const int vert) |
choose flipping algorithm depending on given parameters |
Template class to flip monochrome images (on pixel data level) horizontally and vertically.
DiMonoFlipTemplate< T >::DiMonoFlipTemplate | ( | const DiMonoPixel * | pixel, |
const Uint16 | columns, | ||
const Uint16 | rows, | ||
const Uint32 | frames, | ||
const int | horz, | ||
const int | vert | ||
) | [inline] |
constructor
pixel | pointer to intermediate pixel representation |
columns | number of columns |
rows | number of rows |
frames | number of frames |
horz | flip horizontally if true |
vert | flip vertically if true |
void DiMonoFlipTemplate< T >::flip | ( | const T * | pixel, |
const int | horz, | ||
const int | vert | ||
) | [inline, private] |
choose flipping algorithm depending on given parameters
pixel | pointer to pixel data which should be flipped |
horz | flip horizontally if true |
vert | flip vertically if true |