|
OFFIS DCMTK Version 3.6.0
|
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 |
Definition at line 65 of file dimoflt.h.
References DiMonoFlipTemplate< T >::flip(), DiPixel::getCount(), and DiPixel::getData().
| 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 |
Definition at line 99 of file dimoflt.h.
References DiMonoPixelTemplate< T >::Data, DiFlipTemplate< T >::flipHorz(), DiFlipTemplate< T >::flipHorzVert(), DiFlipTemplate< T >::flipVert(), and DiPixel::getCount().
Referenced by DiMonoFlipTemplate< T >::DiMonoFlipTemplate().