|
DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
Template class to convert monochrome pixel data to intermediate representation. More...
Inheritance diagram for DiMonoInputPixelTemplate< T1, T2, T3 >:Public Member Functions | |
| DiMonoInputPixelTemplate (DiInputPixel *pixel, DiMonoModality *modality) | |
| constructor | |
| virtual | ~DiMonoInputPixelTemplate () |
| destructor | |
Private Member Functions | |
| int | initOptimizationLUT (T3 *&lut, const unsigned long ocnt) |
| initialize optimization LUT | |
| void | modlut (DiInputPixel *input) |
| perform modality LUT transform | |
| void | rescale (DiInputPixel *input, const double slope=1.0, const double intercept=0.0) |
| perform rescale slope/intercept transform | |
Template class to convert monochrome pixel data to intermediate representation.
| DiMonoInputPixelTemplate< T1, T2, T3 >::DiMonoInputPixelTemplate | ( | DiInputPixel * | pixel, |
| DiMonoModality * | modality | ||
| ) | [inline] |
constructor
| pixel | pointer to input pixel representation |
| modality | pointer to modality transform object |
| int DiMonoInputPixelTemplate< T1, T2, T3 >::initOptimizationLUT | ( | T3 *& | lut, |
| const unsigned long | ocnt | ||
| ) | [inline, private] |
initialize optimization LUT
| lut | reference to storage area for lookup table |
| ocnt | number of LUT entries (will be check as optimization criteria) |
| void DiMonoInputPixelTemplate< T1, T2, T3 >::modlut | ( | DiInputPixel * | input | ) | [inline, private] |
perform modality LUT transform
| input | pointer to input pixel representation |
| void DiMonoInputPixelTemplate< T1, T2, T3 >::rescale | ( | DiInputPixel * | input, |
| const double | slope = 1.0, |
||
| const double | intercept = 0.0 |
||
| ) | [inline, private] |
perform rescale slope/intercept transform
| input | pointer to input pixel representation |
| slope | rescale slope value (optional) |
| intercept | rescale intercept value (optional) |