|
OFFIS DCMTK
Version 3.6.0
|
Class to handle modality specific transformations (incl. More...
Public Member Functions | |
| DiMonoModality (const DiDocument *docu, DiInputPixel *pixel) | |
| constructor More... | |
| DiMonoModality (const DiDocument *docu, DiInputPixel *pixel, const double slope, const double intercept) | |
| constructor, rescale More... | |
| DiMonoModality (const DiDocument *docu, DiInputPixel *pixel, const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation) | |
| constructor, LUT More... | |
| DiMonoModality (const int bits) | |
| constructor, no modality transform More... | |
| virtual | ~DiMonoModality () |
| destructor | |
| EP_Representation | getRepresentation () const |
| get integer representation More... | |
| double | getMinValue () const |
| get minimum pixel value after modality transform More... | |
| double | getMaxValue () const |
| get maximum pixel value after modality transform More... | |
| unsigned int | getBits () const |
| get number of bits describing the width of output data More... | |
| unsigned int | getUsedBits () const |
| get number of bits actually used to store the output data. More... | |
| double | getAbsMinimum () const |
| get absolute (possible) minimum pixel value after modality transform More... | |
| double | getAbsMaximum () const |
| get absolute (possible) maximum pixel value after modality transform More... | |
| double | getRescaleIntercept () const |
| get rescale intercept value More... | |
| double | getRescaleSlope () const |
| get rescale slope value More... | |
| const DiLookupTable * | getTableData () const |
| get pointer to lookup table data More... | |
| const char * | getExplanation () const |
| get modality LUT explanation More... | |
| int | hasLookupTable () const |
| check whether lookup table is present More... | |
| int | hasRescaling () const |
| check whether rescaling is present More... | |
Public Member Functions inherited from DiObjectCounter | |
| void | addReference () |
| add a reference. More... | |
| void | removeReference () |
| remove a reference. More... | |
Protected Member Functions | |
| int | Init (const DiDocument *docu, DiInputPixel *pixel) |
| initialize internal data structures and values More... | |
| void | checkTable () |
| check lookup table for validity (and possibly correct it) | |
| void | checkRescaling (const DiInputPixel *pixel) |
| check rescaling for validity (and possibly correct it) More... | |
| void | determineRepresentation (const DiDocument *docu) |
| determine integer representation used for the output data More... | |
Protected Member Functions inherited from DiObjectCounter | |
| DiObjectCounter () | |
| constructor. More... | |
| virtual | ~DiObjectCounter () |
| destructor | |
Private Member Functions | |
| DiMonoModality (const DiMonoModality &) | |
| DiMonoModality & | operator= (const DiMonoModality &) |
Private Attributes | |
| EP_Representation | Representation |
| integer representation | |
| double | MinValue |
| minimum pixel value | |
| double | MaxValue |
| maximum pixel value | |
| unsigned int | Bits |
| number of bits | |
| unsigned int | UsedBits |
| number of used bits | |
| double | AbsMinimum |
| absolute minimum pixel value | |
| double | AbsMaximum |
| absolute maximum pixel value | |
| double | RescaleIntercept |
| rescale intercept | |
| double | RescaleSlope |
| rescale slope | |
| int | LookupTable |
| status flag: lookup table present | |
| int | Rescaling |
| status flag: rescaling present | |
| DiLookupTable * | TableData |
| pointer to modality lookup table | |
Class to handle modality specific transformations (incl.
modality LUT)
| DiMonoModality::DiMonoModality | ( | const DiDocument * | docu, |
| DiInputPixel * | pixel | ||
| ) |
constructor
| docu | pointer to dataset (encapsulated) |
| pixel | pointer to input pixel data |
| DiMonoModality::DiMonoModality | ( | const DiDocument * | docu, |
| DiInputPixel * | pixel, | ||
| const double | slope, | ||
| const double | intercept | ||
| ) |
constructor, rescale
| docu | pointer to dataset (encapsulated) |
| pixel | pointer to input pixel data |
| slope | rescale slope (<> 0) |
| intercept | rescale intercept |
| DiMonoModality::DiMonoModality | ( | const DiDocument * | docu, |
| DiInputPixel * | pixel, | ||
| const DcmUnsignedShort & | data, | ||
| const DcmUnsignedShort & | descriptor, | ||
| const DcmLongString * | explanation | ||
| ) |
constructor, LUT
| docu | pointer to dataset (encapsulated) |
| pixel | pointer to input pixel data |
| data | element containing the modality LUT data |
| descriptor | element containing the modality LUT descriptor |
| explanation | element containing the modality LUT explanation (optional) |
| DiMonoModality::DiMonoModality | ( | const int | bits) |
constructor, no modality transform
| bits | number of bits per pixel |
|
protected |
check rescaling for validity (and possibly correct it)
| pixel | pointer to input pixel data |
|
protected |
determine integer representation used for the output data
| docu | pointer to dataset (encapsulated) |
|
inline |
get absolute (possible) maximum pixel value after modality transform
Definition at line 163 of file dimomod.h.
References AbsMaximum.
Referenced by DiMonoPixel::getAbsMaximum().
|
inline |
get absolute (possible) minimum pixel value after modality transform
Definition at line 154 of file dimomod.h.
References AbsMinimum.
Referenced by DiMonoPixel::getAbsMinimum().
|
inline |
get number of bits describing the width of output data
Definition at line 135 of file dimomod.h.
References Bits.
Referenced by DiMonoPixel::getBits().
|
inline |
get modality LUT explanation
Definition at line 199 of file dimomod.h.
References DiBaseLUT::getExplanation(), and TableData.
Referenced by DiMonoPixel::getModalityLutExplanation().
|
inline |
get maximum pixel value after modality transform
Definition at line 126 of file dimomod.h.
References MaxValue.
Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::DiMonoInputPixelTemplate().
|
inline |
get minimum pixel value after modality transform
Definition at line 117 of file dimomod.h.
References MinValue.
Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::DiMonoInputPixelTemplate().
|
inline |
get integer representation
Definition at line 108 of file dimomod.h.
References Representation.
|
inline |
get rescale intercept value
Definition at line 172 of file dimomod.h.
References RescaleIntercept.
Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::DiMonoInputPixelTemplate().
|
inline |
get rescale slope value
Definition at line 181 of file dimomod.h.
References RescaleSlope.
Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::DiMonoInputPixelTemplate().
|
inline |
get pointer to lookup table data
Definition at line 190 of file dimomod.h.
References TableData.
Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::modlut().
|
inline |
|
inline |
check whether lookup table is present
Definition at line 208 of file dimomod.h.
References LookupTable.
Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::DiMonoInputPixelTemplate().
|
inline |
check whether rescaling is present
Definition at line 217 of file dimomod.h.
References Rescaling.
Referenced by DiMonoInputPixelTemplate< T1, T2, T3 >::DiMonoInputPixelTemplate().
|
protected |
initialize internal data structures and values
| docu | pointer to dataset (encapsulated) |
| pixel | pointer to input pixel data |