Static Public Member Functions | |
| unsigned long | maxval (const int mv_bits, const unsigned long mv_pos=1) |
| calculate maximum value which could be stored in the specified number of bits | |
| unsigned int | tobits (unsigned long tb_value, const unsigned long tb_pos=1) |
| calculate number of bits which are necessary to store the specified value | |
| EP_Representation | determineRepresentation (double minvalue, double maxvalue) |
| determine integer representation which is necessary to store values in the specified range | |
| void | setDebugLevel (const int level) |
| set the debug level to the specified value | |
| int | getDebugLevel () |
| get the current debug level | |
| int | checkDebugLevel (const int level) |
| check whether specified debug level is set | |
Static Public Attributes | |
| const int | DL_NoMessages |
| debug level: display no messages | |
| const int | DL_Errors |
| debug level: display error messages | |
| const int | DL_Warnings |
| debug level: display warning messages | |
| const int | DL_Informationals |
| debug level: display informational messages | |
| const int | DL_DebugMessages |
| debug level: display debug messages | |
Static Private Attributes | |
| OFGlobal< int > | DebugLevel |
| debug level defining the verboseness of the image toolkit | |
introduced to avoid problems with naming convention
Definition at line 315 of file diutils.h.
|
|
||||||||||||
|
determine integer representation which is necessary to store values in the specified range
|
|
|
get the current debug level
References DebugLevel, and OFGlobal< T >::get(). |
|
||||||||||||
|
calculate maximum value which could be stored in the specified number of bits
Referenced by DiBaseLUT::getAbsMaxRange(), and DiScaleTemplate< T >::interpolatePixel(). |
|
|
set the debug level to the specified value
References DebugLevel, and OFGlobal< T >::set(). |
|
||||||||||||
|
calculate number of bits which are necessary to store the specified value
|