Inheritance diagram for DiMonoScaleTemplate< T >:
Public Member Functions | |
DiMonoScaleTemplate (const DiMonoPixel *pixel, const Uint16 columns, const Uint16 rows, const signed long left_pos, const signed long top_pos, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int bits, const int interpolate, const Uint16 pvalue) | |
constructor | |
virtual | ~DiMonoScaleTemplate () |
destructor | |
Private Member Functions | |
void | scale (const T *pixel, const unsigned int bits, const int interpolate, const Uint16 pvalue) |
scale pixel data |
Definition at line 48 of file dimosct.h.
DiMonoScaleTemplate< T >::DiMonoScaleTemplate | ( | const DiMonoPixel * | pixel, | |
const Uint16 | columns, | |||
const Uint16 | rows, | |||
const signed long | left_pos, | |||
const signed long | top_pos, | |||
const Uint16 | src_cols, | |||
const Uint16 | src_rows, | |||
const Uint16 | dest_cols, | |||
const Uint16 | dest_rows, | |||
const Uint32 | frames, | |||
const int | bits, | |||
const int | interpolate, | |||
const Uint16 | pvalue | |||
) | [inline] |
constructor
pixel | pointer to intermediate pixel representation | |
columns | width of source image | |
rows | height of source image | |
left_pos | left coordinate of clipping area | |
top_pos | top coordinate of clipping area | |
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 | |
bits | number of bits per plane/pixel | |
interpolate | use of interpolation when scaling | |
pvalue | value possibly used for regions outside the image boundaries |
Definition at line 71 of file dimosct.h.
References DiMonoPixelTemplate< T >::determineMinMax(), DiMonoPixel::getBits(), DiPixel::getCount(), DiPixel::getData(), and DiMonoScaleTemplate< T >::scale().
void DiMonoScaleTemplate< T >::scale | ( | const T * | pixel, | |
const unsigned int | bits, | |||
const int | interpolate, | |||
const Uint16 | pvalue | |||
) | [inline, private] |
scale pixel data
pixel | pointer to pixel data to be scaled | |
bits | bit depth of pixel data | |
interpolate | use of interpolation when scaling | |
pvalue | value possibly used for regions outside the image boundaries |
Definition at line 115 of file dimosct.h.
References DiMonoPixelTemplate< T >::Data, DiPixel::getCount(), DicomImageClass::maxval(), and DiScaleTemplate< T >::scaleData().
Referenced by DiMonoScaleTemplate< T >::DiMonoScaleTemplate().