#include <vuMap.h>
Collaboration diagram for vuMap:
Public Member Functions | |
vuMap () | |
Constructor. | |
virtual | ~vuMap () |
void | createRamp (word start, word startval, word end, word endval) |
Create a mapping to window an intensity range. | |
void | createIdentity () |
Identity mapping. | |
word | operator[] (word index) const |
Get mapped value for entry 'index' No range checking is performed. | |
word & | operator[] (word index) |
Allows to modify entry. | |
Protected Attributes | |
word | m_Map [1<< 16] |
Intensity map. | |
Friends | |
ostream & | operator<< (ostream &os, const vuMap &map) |
istream & | operator>> (istream &is, vuMap &map) |
Can be used to window intensity ranges or to enhance lower intensities or to equalize histograms. Should use vuHistogram to setup some specific maps.
Definition at line 14 of file vuMap.h.
|
Constructor.
Definition at line 3 of file vuMap.cpp. References createIdentity(). |
Here is the call graph for this function:
|
|
|
Identity mapping.
Definition at line 25 of file vuMap.cpp. Referenced by vuMap(). |
|
Create a mapping to window an intensity range. The range from start to end will be mapped to values from startVal to endVal. The range outside [start, end] is set to constant startval and endval accoringly. Definition at line 11 of file vuMap.cpp. References dword, m_Map, and word. Referenced by main(). |
|
Allows to modify entry. No range checking is performed. Definition at line 38 of file vuMap.h. References word. |
|
Get mapped value for entry 'index' No range checking is performed.
Definition at line 34 of file vuMap.h. References word. |
|
|
|
|
|
Intensity map.
Definition at line 47 of file vuMap.h. Referenced by createIdentity(), and createRamp(). |