Package samer.units
Class Histogram.Equaliser
- java.lang.Object
-
- samer.maths.VectorFunctionOfVector
-
- samer.units.Histogram.Equaliser
-
- Enclosing class:
- Histogram
public class Histogram.Equaliser extends VectorFunctionOfVector
This is a function which uses a cumulative probability function derived from the histogram to compute a transformation that results in a uniformly distributed variable. It takes a SNAPSHOT of the current histogram map and bin counts. You must update() to update from current histogram.
-
-
Constructor Summary
Constructors Constructor and Description Equaliser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
apply(double[] x)
void
apply(double[] x, double[] y)
void
dispose()
void
update()
-
-
-
Method Detail
-
dispose
public void dispose()
- Overrides:
dispose
in classVectorFunctionOfVector
-
update
public void update()
-
apply
public void apply(double[] x)
- Overrides:
apply
in classVectorFunctionOfVector
-
apply
public void apply(double[] x, double[] y)
- Specified by:
apply
in classVectorFunctionOfVector
-
-