DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Private Member Functions
DiMonoScaleTemplate< T > Class Template Reference

Template class to scale monochrome images (on pixel data level). More...

+ Inheritance diagram for DiMonoScaleTemplate< T >:

List of all members.

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

Detailed Description

template<class T>
class DiMonoScaleTemplate< T >

Template class to scale monochrome images (on pixel data level).


Constructor & Destructor Documentation

template<class T >
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

Parameters:
pixelpointer to intermediate pixel representation
columnswidth of source image
rowsheight of source image
left_posleft coordinate of clipping area
top_postop coordinate of clipping area
src_colswidth of clipping area
src_rowsheight of clipping area
dest_colswidth of destination image (scaled image)
dest_rowsheight of destination image
framesnumber of frames
bitsnumber of bits per plane/pixel
interpolateuse of interpolation when scaling
pvaluevalue possibly used for regions outside the image boundaries

Member Function Documentation

template<class T >
void DiMonoScaleTemplate< T >::scale ( const T *  pixel,
const unsigned int  bits,
const int  interpolate,
const Uint16  pvalue 
) [inline, private]

scale pixel data

Parameters:
pixelpointer to pixel data to be scaled
bitsbit depth of pixel data
interpolateuse of interpolation when scaling
pvaluevalue possibly used for regions outside the image boundaries

The documentation for this class was generated from the following file:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027