|
| | DiGSDFunction (const char *filename, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=-1) |
| | constructor, read device characteristics file.
|
| |
| | DiGSDFunction (const double *val_tab, const unsigned long count, const Uint16 max=255, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0) |
| | constructor, use given array of luminance/OD values.
|
| |
| | DiGSDFunction (const Uint16 *ddl_tab, const double *val_tab, const unsigned long count, const Uint16 max=255, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0) |
| | constructor, use given array of DDL and luminance/OD values.
|
| |
| | DiGSDFunction (const double val_min, const double val_max, const unsigned long count=256, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0) |
| | constructor, compute luminance/OD values automatically within the specified range.
|
| |
|
virtual | ~DiGSDFunction () |
| | destructor
|
| |
| int | writeCurveData (const char *filename, const OFBool mode=OFTrue) |
| | write curve data to a text file
|
| |
| int | setAmbientLightValue (const double value) |
| | set (reflected) ambient light value.
|
| |
| int | setIlluminationValue (const double value) |
| | set illumination value.
|
| |
| int | setMinDensityValue (const double value) |
| | set minimum optical density value "Dmin".
|
| |
| int | setMaxDensityValue (const double value) |
| | set maximum optical density value "Dmax".
|
| |
| | DiDisplayFunction (const char *filename, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=-1) |
| | constructor, read device characteristics file.
|
| |
| | DiDisplayFunction (const double *val_tab, const unsigned long count, const Uint16 max=255, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0) |
| | constructor, use given array of luminance/OD values.
|
| |
| | DiDisplayFunction (const Uint16 *ddl_tab, const double *val_tab, const unsigned long count, const Uint16 max=255, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0) |
| | constructor, use given array of DDL and luminance/OD values.
|
| |
| | DiDisplayFunction (const double val_min, const double val_max, const unsigned long count=256, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0) |
| | constructor, compute luminance/OD values automatically within the specified range.
|
| |
|
virtual | ~DiDisplayFunction () |
| | destructor
|
| |
| int | isValid () const |
| | check whether DisplayFunction is valid
|
| |
| E_DeviceType | getDeviceType () const |
| | get output device type (monitor, camera, printer or scanner)
|
| |
| Uint16 | getMaxDDLValue () const |
| | get maximum DDL value.
|
| |
| double | getMinValue () const |
| | get minimum luminance/OD value from the characteristic curve.
|
| |
| double | getMaxValue () const |
| | get maximum luminance/OD value from the characteristic curve.
|
| |
| double | getValueforDDL (const Uint16 ddl) const |
| | get the luminance/OD value for a given DDL.
|
| |
| Uint16 | getDDLforValue (const double value) const |
| | get the DDL for a given luminance/OD value.
|
| |
| const DiDisplayLUT * | getLookupTable (const int bits, unsigned long count=0) |
| | create look-up table with specified number of entries
|
| |
| int | deleteLookupTable (const int bits) |
| | delete specified LUT
|
| |
| double | getAmbientLightValue () const |
| | get (reflected) ambient light value.
|
| |
| double | getIlluminationValue () const |
| | get illumination value.
|
| |
| double | getMinDensityValue () const |
| | get minimum optical density value "Dmin".
|
| |
| double | getMaxDensityValue () const |
| | get maximum optical density value "Dmax".
|
| |
| double | getMinLuminanceValue () const |
| | get minimum luminance value "Lmin".
|
| |
| double | getMaxLuminanceValue () const |
| | get maximum luminance value "Lmax".
|
| |
| signed int | getPolynomialOrder () const |
| | get order of the polynomial curve fitting algorithm.
|
| |
| double | convertODtoLum (const double value, const OFBool useAmb=OFTrue) const |
| | convert the given OD value to luminance.
|
| |
|
| DiDisplayLUT * | getDisplayLUT (unsigned long count) |
| | create GSDF LUT with specified number of entries
|
| |
| int | calculateGSDF () |
| | calculate GSDF (array of 1023 luminance/OD values)
|
| |
| int | calculateGSDFSpline () |
| | calculate helper function for GSDF interpolation
|
| |
| int | calculateJNDBoundaries () |
| | calculate 'JNDMin' and 'JNDMax' for the given luminance/OD range
|
| |
| int | readConfigFile (const char *filename) |
| | read the given device characteristics file
|
| |
| int | createSortedTable (const Uint16 *ddl_tab, const double *val_tab) |
| | create a sorted (by DDL) table from the given DDL and luminance/OD tables
|
| |
| double * | convertODtoLumTable (const double *od_tab, const unsigned long count, const OFBool useAmb) |
| | create a table with luminance values from the given OD table.
|
| |
|
int | interpolateValues () |
| | interpolate device characteristic curve by means of a cubic spline interpolation
|
| |
| int | calculateMinMax () |
| | calculate minimum and maximum luminance/OD values
|
| |
| int | checkMinMaxDensity () const |
| | check whether Dmin and Dmax are properly specified.
|
| |
|
| enum | E_DeviceType { EDT_Monitor
, EDT_Camera
, EDT_Printer
, EDT_Scanner
} |
| | output device type More...
|
| |
|
int | Valid |
| | status flag, indicating whether display function is valid
|
| |
|
const E_DeviceType | DeviceType |
| | output device type (monitor, camera, printer or scanner)
|
| |
|
unsigned long | ValueCount |
| | number of DDL and luminance/OD values
|
| |
|
Uint16 | MaxDDLValue |
| | maximum DDL value (usually 255)
|
| |
|
signed int | Order |
| | order of the polynomial curve fitting algorithm
|
| |
|
double | AmbientLight |
| | (reflected) ambient light value
|
| |
|
double | Illumination |
| | illumination value
|
| |
|
double | MinDensity |
| | minimum optical density (-1 if unset)
|
| |
|
double | MaxDensity |
| | maximum optical density (-1 if unset)
|
| |
|
Uint16 * | DDLValue |
| | pointer to array of DDL values
|
| |
|
double * | LODValue |
| | pointer to array of corresponding luminance/OD values
|
| |
|
double | MinValue |
| | minimum luminance/OD value
|
| |
|
double | MaxValue |
| | maximum luminance/OD value
|
| |
|
DiDisplayLUT * | LookupTable [MAX_NUMBER_OF_TABLES] |
| | array with pointer to the different lookup tables (here: 8-16 bits)
|
| |
|
static const int | MinBits |
| | constant defining minimum value for number of bits for LUT input (here: 8)
|
| |
|
static const int | MaxBits |
| | constant defining maximum value for number of bits for LUT input (here: 16)
|
| |
Class to manage GSDF LUTs (for calibration)