33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/ofstd/ofcast.h"
36 #include "dcmtk/dcmimgle/diluptab.h"
37 #include "dcmtk/dcmimgle/diobjcou.h"
78 const double intercept);
int Rescaling
status flag: rescaling present
double getMaxValue() const
get maximum pixel value after modality transform
DiLookupTable * TableData
pointer to modality lookup table
double getMinValue() const
get minimum pixel value after modality transform
double MaxValue
maximum pixel value
Class to count number of instances (objects created from a certain class).
Interface class to DICOM data management (dcmdata).
int LookupTable
status flag: lookup table present
EP_Representation getRepresentation() const
get integer representation
DiMonoModality(const DiDocument *docu, DiInputPixel *pixel)
constructor
void determineRepresentation(const DiDocument *docu)
determine integer representation used for the output data
EP_Representation Representation
integer representation
double RescaleIntercept
rescale intercept
const char * getExplanation() const
get modality LUT explanation
double RescaleSlope
rescale slope
a class representing the DICOM value representation 'Long String' (LO)
Class to handle modality specific transformations (incl.
unsigned int Bits
number of bits
Class to handle color palette look-up tables.
const DiLookupTable * getTableData() const
get pointer to lookup table data
int hasRescaling() const
check whether rescaling is present
int hasLookupTable() const
check whether lookup table is present
void checkTable()
check lookup table for validity (and possibly correct it)
unsigned int getUsedBits() const
get number of bits actually used to store the output data.
double MinValue
minimum pixel value
double AbsMinimum
absolute minimum pixel value
a class representing the DICOM value representation 'Unsigned Short' (US)
int Init(const DiDocument *docu, DiInputPixel *pixel)
initialize internal data structures and values
void checkRescaling(const DiInputPixel *pixel)
check rescaling for validity (and possibly correct it)
double getAbsMaximum() const
get absolute (possible) maximum pixel value after modality transform
double getRescaleSlope() const
get rescale slope value
const char * getExplanation() const
get LUT explanation string
unsigned int UsedBits
number of used bits
unsigned int getBits() const
get number of bits describing the width of output data
virtual ~DiMonoModality()
destructor
double AbsMaximum
absolute maximum pixel value
double getAbsMinimum() const
get absolute (possible) minimum pixel value after modality transform
double getRescaleIntercept() const
get rescale intercept value