|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
Template class building the base for other transformations. More...
Inheritance diagram for DiTransTemplate< T >:Protected Member Functions | |
| DiTransTemplate (const int planes, const Uint16 src_x, const Uint16 src_y, const Uint16 dest_x, const Uint16 dest_y, const Uint32 frames, const int bits=0) | |
| constructor | |
| virtual | ~DiTransTemplate () |
| destructor | |
| void | copyPixel (const T *src[], T *dest[]) |
| copy pixel data | |
| void | fillPixel (T *dest[], const T value) |
| fill pixel data with specified value | |
| void | clearPixel (T *dest[]) |
| clear pixel data (set values to 0) | |
Template class building the base for other transformations.
(e.g. scaling, flipping)
|
inlineprotected |
constructor
| planes | number of planes |
| src_x | width of source image |
| src_y | height of source image |
| dest_x | width of destination image (after transformation) |
| dest_y | height of destination image |
| frames | number of frames |
| bits | number of bits per plane/pixel (optional) |
References Bits, Dest_X, Dest_Y, Frames, Planes, Src_X, and Src_Y.
Referenced by DiFlipTemplate< T >::DiFlipTemplate(), DiFlipTemplate< T >::DiFlipTemplate(), DiRotateTemplate< T >::DiRotateTemplate(), DiRotateTemplate< T >::DiRotateTemplate(), DiScaleTemplate< T >::DiScaleTemplate(), and DiScaleTemplate< T >::DiScaleTemplate().
|
inlineprotected |
clear pixel data (set values to 0)
| dest | array of pointers to destination image pixels |
References Dest_X, Dest_Y, Frames, Planes, and OFBitmanipTemplate< T >::zeroMem().
Referenced by DiScaleTemplate< T >::bicubicPixel(), DiScaleTemplate< T >::bilinearPixel(), and DiScaleTemplate< T >::interpolatePixel().
|
inlineprotected |
copy pixel data
| src | array of pointers to source image pixels |
| dest | array of pointers to destination image pixels |
References OFBitmanipTemplate< T >::copyMem(), Dest_X, Dest_Y, Frames, and Planes.
Referenced by DiFlipTemplate< T >::flipData(), DiRotateTemplate< T >::rotateData(), and DiScaleTemplate< T >::scaleData().
|
inlineprotected |
fill pixel data with specified value
| dest | array of pointers to destination image pixels |
| value | value to be filled in destination array |
References Dest_X, Dest_Y, Frames, Planes, and OFBitmanipTemplate< T >::setMem().
Referenced by DiScaleTemplate< T >::scaleData().