Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

MatrixEqualizer Class Reference

Equalizes matrices. More...

#include <equalization.h>

Inheritance diagram for MatrixEqualizer:

Equalizer List of all members.

Public Methods

 MatrixEqualizer (Equalizer *prototype=NULL)
void analyze (const Matrix &mat, bool additive=false)
void equalize (Matrix &mat) const
void unequalize (Matrix &mat) const
const EqualizergetPlane (int plane) const
int planes () const
virtual TextOStream & operator>> (TextOStream &out) const
virtual TextIStream & operator<< (TextIStream &in)
virtual void handleMissing (bool enable=true)

Detailed Description

Equalizes matrices.

Stores equalization information.

Definition at line 220 of file equalization.h.


Constructor & Destructor Documentation

MatrixEqualizer Equalizer   prototype = NULL
 

Constructor.

The prototype is an Equalizer instance which has been created with appropriate parameters for the specific equalization method.

The prototype is applied for building equalizers for each column plane.

The MatrixEqualizer takes the ownership of the prototype and destroys it accordingly.

Definition at line 343 of file equalization.cc.


Member Function Documentation

void analyze const Matrix &    mat,
bool    additive = false
 

Analyzes a matrix for equalization.

If the optional additive-parameter is true, the analysis is made for all columns at the same time, i.e., they share their value space. This may be useful if the relative values of different columns are significant.

Definition at line 350 of file equalization.cc.

Referenced by AbsoluteNeuralPrediction::train().

void equalize Matrix &    mat const
 

Equalizes a matrix by applying equalization data acquired from a previous analyze().

Definition at line 393 of file equalization.cc.

const Equalizer& getPlane int    plane const [inline]
 

Returns equalizer for given matrix column (component plane).

The equalizer may have analyzed data or it may have not, depending on its history.

Definition at line 259 of file equalization.h.

void handleMissing bool    enable = true [virtual]
 

Sets whether or not the equalization should handle missing values in a standard manner.

Reimplemented from Equalizer.

Definition at line 451 of file equalization.cc.

TextIStream & operator<< TextIStream &    in [virtual]
 

Implementation of serialization.

Definition at line 437 of file equalization.cc.

References readEqualizer().

TextOStream & operator>> TextOStream &    out const [virtual]
 

Implementation of serialization.

Reimplemented from Equalizer.

Definition at line 403 of file equalization.cc.

int planes   const [inline]
 

Returns number of columns (equalization planes).

Definition at line 262 of file equalization.h.

void unequalize Matrix &    mat const
 

Reverses the equalization of a matrix by applying equalization data acquired from a previous analyze().

Definition at line 398 of file equalization.cc.


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 20:06:45 2005 for Inanna by doxygen1.2.18