Back AAM-API documentation The AAM-Site

In file AAMTransferFunctions.h:

class CAAMTFLookUp

Transfer function that implements a lookup table.

Inheritance:

CAAMTFLookUp - CAAMTransferFunction - CAAMObject


Public Methods

[more] CAAMTFLookUp()
Constructor
[more]CAAMTransferFunction* Clone() const
Clone function (conveys type info)
[more]void DeMap( CDVector &v ) const
The inverse of the lookup table transform.
[more]void FromFile( FILE* fh )
Reads the class info from file.
[more]void LoadLUT( const CDVector &lut )
Loads the lookup table and generates the inverse.
[more]void Map( CDVector &v ) const
Maps an input vector using the current lookup table.
[more]void ToFile( FILE* fh ) const
Writes the class info to file.
[more]const char* TypeName() const
Returns the clear-text type name
[more] ~CAAMTFLookUp()
Destructor


Inherited from CAAMTransferFunction:


Inherited from CAAMObject:

Public Methods

ovoid Dump( const char* szPath ) const


Documentation

Transfer function that implements a lookup table, which is useful for e.g. histogram equalisations.

o CAAMTFLookUp()
Constructor

o ~CAAMTFLookUp()
Destructor

oCAAMTransferFunction* Clone() const
Clone function (conveys type info)

oconst char* TypeName() const
Returns the clear-text type name

ovoid LoadLUT( const CDVector &lut )

Loads the lookup table and generates the inverse, i.e. assumes that the LUT monotonic.

Parameters:
lut - A lookup table in vector form.
Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
1-28-2002

ovoid Map( CDVector &v ) const

Maps an input vector using the current lookup table.

Parameters:
v - Input vector.
Returns:
Nothing. The result is returned in v.
Author:
Mikkel B. Stegmann
Version:
1-28-2002

ovoid DeMap( CDVector &v ) const

The inverse of the lookup table transform. The input vector is transformed into [0;255] and the the inverse LUT is applied.

Parameters:
v - Input vector to de-map.
Returns:
Nothing. The result is returned in v.
Author:
Mikkel B. Stegmann
Version:
1-28-2002
See Also:
Map

ovoid FromFile( FILE* fh )

Reads the class info from file.

Parameters:
fh - Open binary file handle.
Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
1-28-2002
See Also:
ToFile

ovoid ToFile( FILE* fh ) const

Writes the class info to file.

Parameters:
fh - Open binary file handle.
Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
1-28-2002
See Also:
FromFile


This class has no child classes.
Author:
Mikkel B. Stegmann
Version:
1-28-2002

Alphabetic index Hierarchy of classes


Back AAM-API documentation The AAM-Site