#include <equalization.h>
Inheritance diagram for MatrixEqualizer:
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 Equalizer & | getPlane (int plane) const |
int | planes () const |
virtual TextOStream & | operator>> (TextOStream &out) const |
virtual TextIStream & | operator<< (TextIStream &in) |
virtual void | handleMissing (bool enable=true) |
Stores equalization information.
Definition at line 220 of file equalization.h.
|
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. |
|
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(). |
|
Equalizes a matrix by applying equalization data acquired from a previous analyze().
Definition at line 393 of file equalization.cc. |
|
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. |
|
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. |
|
Implementation of serialization.
Definition at line 437 of file equalization.cc. References readEqualizer(). |
|
Implementation of serialization.
Reimplemented from Equalizer. Definition at line 403 of file equalization.cc. |
|
Returns number of columns (equalization planes).
Definition at line 262 of file equalization.h. |
|
Reverses the equalization of a matrix by applying equalization data acquired from a previous analyze().
Definition at line 398 of file equalization.cc. |