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 voidapply(double[] x)voidapply(double[] x, double[] y)voiddispose()voidupdate()
-
-
-
Method Detail
-
dispose
public void dispose()
- Overrides:
disposein classVectorFunctionOfVector
-
update
public void update()
-
apply
public void apply(double[] x)
- Overrides:
applyin classVectorFunctionOfVector
-
apply
public void apply(double[] x, double[] y)- Specified by:
applyin classVectorFunctionOfVector
-
-