|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.wavelet.FWTCoef
public final class FWTCoef
This class is used to encapsulate wavelet coefficients.
Field Summary | |
---|---|
protected double[][] |
coefs
|
(package private) static double |
normalisation
|
Fields inherited from interface JSci.maths.NumericalConstants |
---|
GAMMA, GOLDEN_RATIO, LOG10, SQRT2, SQRT2PI, TWO_PI |
Constructor Summary | |
---|---|
FWTCoef()
|
|
FWTCoef(double[][] v)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Return a copy of this object |
void |
compress(double p)
Compresses by zero-ing any value below a given percentile cut-off. |
static double[] |
compress(double[] v,
double p)
Compresses by zero-ing any value below a given percentile cut-off. |
void |
compress(double p,
int k)
Compresses by zero-ing any value below a given percentile cut-off. |
void |
compressHard(double p)
Compresses by zero-ing any value below a given cut-off. |
static double[] |
compressHard(double[] v,
double seuil)
Compresses by zero-ing any value below a given cut-off. |
void |
compressHard(double p,
int k)
Compresses by zero-ing any value below a given cut-off. |
void |
denoise(double p)
Denoises by zero-ing any value above a given percentile cut-off. |
static double[] |
denoise(double[] v,
double p)
Denoises by zero-ing any value above a given percentile cut-off. |
void |
denoise(double p,
int k)
Denoises by zero-ing any value above a given percentile cut-off. |
void |
denoiseHard(double p)
Denoises by zero-ing any value above a given cut-off. |
static double[] |
denoiseHard(double[] v,
double seuil)
Denoises by zero-ing any value above a given cut-off. |
void |
denoiseHard(double p,
int k)
Denoises by zero-ing any value above a given cut-off. |
int |
dimension(int i)
|
double |
energyRatio(int i)
|
double |
entropy()
|
double[][] |
getCoefs()
|
int |
getJ()
|
double |
icf()
Compute the Shannon entropy. |
double |
mass(int i)
|
double[] |
norm()
Compute the L2 norm of the coefficients |
double |
norm(int i)
Compute the L2 norm of the coefficients at "scale" i. |
Signal |
rebuildSignal(Filter filtreprimaire)
|
Signal |
rebuildSignal(Filter filtreprimaire,
double[] param)
|
void |
setCoefs(double[][] v)
|
void |
setCoefs(double[] v,
int i)
|
double |
sumEnergies()
|
double |
sumSquares(int i)
Compute the sum of the squares of the coefficients |
double |
sumVariance()
|
void |
synthesize(Filter filtreprimaire)
|
void |
synthesize(Filter filtreprimaire,
double[] param)
|
void |
synthesize(Filter filtreprimaire,
double[] param,
int jmax)
|
void |
synthesize(Filter filtreprimaire,
int jmax)
|
void |
synthesizeAll(Filter filtreprimaire)
|
void |
synthesizeAll(Filter filtreprimaire,
double[] param)
|
double |
variance(int i)
|
double |
varianceICF()
|
double |
varianceRatio(int i)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double[][] coefs
static final double normalisation
Constructor Detail |
---|
public FWTCoef()
public FWTCoef(double[][] v)
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public int getJ()
public int dimension(int i)
public double[][] getCoefs()
public double[] norm()
public double norm(int i)
public double sumSquares(int i)
public double mass(int i)
public double variance(int i)
public double sumEnergies()
public double entropy()
public double sumVariance()
public double energyRatio(int i)
public double varianceRatio(int i)
public double icf()
public double varianceICF()
public void setCoefs(double[][] v)
public void setCoefs(double[] v, int i)
public void synthesize(Filter filtreprimaire, double[] param)
public void synthesize(Filter filtreprimaire, double[] param, int jmax)
public void synthesizeAll(Filter filtreprimaire, double[] param)
public void synthesize(Filter filtreprimaire)
public void synthesize(Filter filtreprimaire, int jmax)
public void synthesizeAll(Filter filtreprimaire)
public Signal rebuildSignal(Filter filtreprimaire)
public Signal rebuildSignal(Filter filtreprimaire, double[] param)
public void denoise(double p)
p
- percentile cut-off, must be between 0 and 1.public void denoise(double p, int k)
p
- percentile cut-off, must be between 0 and 1.k
- the index of the coefficient array to denoise.public static double[] denoise(double[] v, double p)
v
- an array to denoise.p
- percentile cut-off, must be between 0 and 1.public void compress(double p)
p
- percentile cut-off, must be between 0 and 1.public void compress(double p, int k)
p
- percentile cut-off, must be between 0 and 1.k
- the index of the coefficient array to compress.public static double[] compress(double[] v, double p)
v
- an array to compress.p
- percentile cut-off, must be between 0 and 1.public void denoiseHard(double p)
p
- cut-off.public void denoiseHard(double p, int k)
p
- cut-off.k
- the index of the coefficient array to denoise.public static double[] denoiseHard(double[] v, double seuil)
v
- an array to denoise.seuil
- cut-off/threshold.public void compressHard(double p)
p
- cut-off.public void compressHard(double p, int k)
p
- cut-off.k
- the index of the coefficient array to compress.public static double[] compressHard(double[] v, double seuil)
v
- an array to compress.seuil
- cut-off/threshold.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |