Inheritance diagram for DiBaseLUT:
Public Member Functions | |
DiBaseLUT (const Uint32 count=0, const Uint16 bits=0) | |
constructor | |
virtual | ~DiBaseLUT () |
destructor | |
Uint32 | getCount () const |
get number of LUT entries | |
Uint16 | getBits () const |
get number of bits per entry | |
Uint32 | getFirstEntry (const Uint32=0) const |
get index of first LUT entry. | |
Sint32 | getFirstEntry (const Sint32) const |
get index of first LUT entry. | |
Uint32 | getLastEntry (const Uint32=0) const |
get index of last LUT entry. | |
Sint32 | getLastEntry (const Sint32) const |
get index of last LUT entry. | |
Uint16 | getValue (const Uint16 pos) const |
get value of specified LUT entry | |
Uint16 | getValue (const Uint32 pos) const |
get value of specified LUT entry. | |
Uint16 | getValue (const Sint32 pos) const |
get value of specified LUT entry. | |
Uint16 | getFirstValue () const |
get value of first LUT entry. | |
Uint16 | getLastValue () const |
get value of last LUT entry. | |
const Uint16 * | getData () const |
get pointer to LUT data | |
Uint16 | getMinValue () const |
get minimum value of the LUT. | |
Uint16 | getMaxValue () const |
get maximum value of the LUT. | |
Uint32 | getAbsMaxRange () const |
get absolute value range of the LUT entries. | |
int | isValid () const |
check whether LUT is valid | |
const char * | getExplanation () const |
get LUT explanation string | |
virtual OFBool | operator== (const DiBaseLUT &lut) |
compares current LUT with specified LUT | |
Protected Member Functions | |
DiBaseLUT (Uint16 *buffer, const Uint32 count=0, const Uint16 bits=0) | |
constructor | |
int | compare (const DiBaseLUT *lut) |
compares current LUT with specified LUT | |
Protected Attributes | |
Uint32 | Count |
number of LUT entries | |
Uint16 | FirstEntry |
first input value mapped (FIV) | |
Uint16 | Bits |
number of bits per entry | |
Uint16 | MinValue |
minimum LUT value | |
Uint16 | MaxValue |
maximum LUT value | |
int | Valid |
status code, indicating whether LUT is valid | |
OFString | Explanation |
LUT explanation string. | |
const Uint16 * | Data |
pointer to lookup table data | |
Uint16 * | DataBuffer |
pointer to data buffer (will be deleted in the destructor) | |
Private Member Functions | |
DiBaseLUT (const DiBaseLUT &) | |
DiBaseLUT & | operator= (const DiBaseLUT &) |
Definition at line 59 of file dibaslut.h.
|
constructor
|
|
constructor
|
|
compares current LUT with specified LUT
|
|
get absolute value range of the LUT entries. The maximum value which could be stored with the specified bit depth is calculated.
References Bits, and DicomImageClass::maxval(). Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::nowindow(), DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::window(). |
|
get number of bits per entry
References Bits. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::nowindow(), DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::window(). |
|
get number of LUT entries
References Count. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::nowindow(), DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::window(). |
|
get pointer to LUT data
References Data. |
|
get LUT explanation string
References OFString::c_str(), OFString::empty(), and Explanation. Referenced by DiMonoModality::getExplanation(), and DiMonoImage::getPresentationLutExplanation(). |
|
get index of first LUT entry. First input value mapped (FIV) in LUT descriptor is SS -> 16 bit signed. ... or the previous pixel transformation requires a signed LUT input value. #param dummy (used to distinguish between signed and unsigned methods)
References FirstEntry. |
|
get index of first LUT entry. First input value mapped (FIV) in LUT descriptor is US -> 16 bit unsigned. ... or the previous pixel transformation requires an unsigned LUT input value. #param dummy (used to distinguish between signed and unsigned methods)
References FirstEntry. Referenced by DiPalettePixelTemplate< T1, T2, T3 >::convert(), DiARGBPixelTemplate< T1, T2, T3 >::convert(), DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(). |
|
get value of first LUT entry.
References Data. Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(). |
|
get index of last LUT entry. FIV in LUT descriptor is SS -> 16 bit signed. ... or the previous pixel transformation requires a signed LUT input value. #param dummy (used to distinguish between signed and unsigned methods)
References Count, and FirstEntry. |
|
get index of last LUT entry. FIV in LUT descriptor is US -> 16 bit unsigned. ... or the previous pixel transformation requires an unsigned LUT input value. #param dummy (used to distinguish between signed and unsigned methods)
References Count, and FirstEntry. Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(). |
|
get value of last LUT entry.
Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(). |
|
get maximum value of the LUT.
References MaxValue. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(). |
|
get minimum value of the LUT.
References MinValue. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(). |
|
get value of specified LUT entry. FIV in LUT descriptor is SS -> 16 bit signed. ... or the previous pixel transformation requires a signed LUT input value.
References Data, and FirstEntry. |
|
get value of specified LUT entry. FIV in LUT descriptor is US -> 16 bit unsigned. ... or the previous pixel transformation requires an unsigned LUT input value.
References Data, and FirstEntry. |
|
get value of specified LUT entry
References Data. Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), DiMonoOutputPixelTemplate< T1, T2, T3 >::nowindow(), DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(), DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::window(). |
|
check whether LUT is valid
References Valid. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::createDisplayLUT(), DiMonoOutputPixelTemplate< T1, T2, T3 >::DiMonoOutputPixelTemplate(), DiMonoOutputPixelTemplate< T1, T2, T3 >::nowindow(), DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(), DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::window(). |
|
compares current LUT with specified LUT
Reimplemented in DiLookupTable.
|