DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
Template class to flip color images (on pixel data level) horizontally and vertically. More...
Public Member Functions | |
DiColorFlipTemplate (const DiColorPixel *pixel, const Uint16 columns, const Uint16 rows, const Uint32 frames, const int horz, const int vert) | |
constructor | |
~DiColorFlipTemplate () | |
destructor | |
Private Member Functions | |
void | flip (const T *pixel[3], const int horz, const int vert) |
choose flipping algorithm depending on given parameters |
Template class to flip color images (on pixel data level) horizontally and vertically.
DiColorFlipTemplate< T >::DiColorFlipTemplate | ( | const DiColorPixel * | 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 DiColorFlipTemplate< T >::flip | ( | const T * | pixel[3], |
const int | horz, | ||
const int | vert | ||
) | [inline, private] |
choose flipping algorithm depending on given parameters
pixel | pointer to pixel data (3 components) which should be flipped |
horz | flip horizontally if true |
vert | flip vertically if true |