|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.wavelet.FWTPacketCoef
public final class FWTPacketCoef
This class is used to encapsulate wavelet packets coefficients.
| Field Summary | |
|---|---|
protected double[][] |
coefs
DOCUMENT ME! |
protected boolean[] |
StandardChoice
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
FWTPacketCoef()
Creates a new FWTPacketCoef object. |
|
FWTPacketCoef(double[][] v,
boolean[] b)
******************************************* ********************************************* |
|
| 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)
DOCUMENT ME! |
double |
entropy()
DOCUMENT ME! |
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)
DOCUMENT ME! |
Signal |
rebuildSignal(Filter filtreprimaire,
double[] param)
DOCUMENT ME! |
void |
setCoefs(double[][] v)
DOCUMENT ME! |
void |
setCoefs(double[] v,
int i)
DOCUMENT ME! |
void |
setPacket(boolean[] b)
Allows the user to set the Wavelet Packet chosen |
double |
sumEnergies()
DOCUMENT ME! |
double |
sumSquares(int i)
Compute the sum of the squares of the coefficients |
double |
sumVariance()
DOCUMENT ME! |
void |
synthesize(Filter filtreprimaire)
DOCUMENT ME! |
void |
synthesize(Filter filtreprimaire,
double[] param)
DOCUMENT ME! |
void |
synthesize(Filter filtreprimaire,
double[] param,
int jmax)
DOCUMENT ME! |
void |
synthesize(Filter filtreprimaire,
int jmax)
DOCUMENT ME! |
void |
synthesizeAll(Filter filtreprimaire)
DOCUMENT ME! |
void |
synthesizeTout(Filter filtreprimaire,
double[] param)
DOCUMENT ME! |
double |
variance(int i)
|
double |
varianceICF()
DOCUMENT ME! |
double |
varianceRatio(int i)
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double[][] coefs
protected boolean[] StandardChoice
| Constructor Detail |
|---|
public FWTPacketCoef()
public FWTPacketCoef(double[][] v,
boolean[] b)
| Method Detail |
|---|
public java.lang.Object clone()
clone in class java.lang.Objectjava.lang.InternalError - DOCUMENT ME!public int getJ()
public int dimension(int i)
i - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public double[][] getCoefs()
public double[] norm()
public double norm(int i)
i - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public double sumSquares(int i)
i - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public double mass(int i)
i - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public double variance(int i)
i - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public double sumEnergies()
java.lang.IllegalArgumentException - DOCUMENT ME!public double entropy()
java.lang.IllegalArgumentException - DOCUMENT ME!public double sumVariance()
java.lang.IllegalArgumentException - DOCUMENT ME!public double energyRatio(int i)
i - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public double varianceRatio(int i)
i - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public double icf()
java.lang.IllegalArgumentException - DOCUMENT ME!public double varianceICF()
java.lang.IllegalArgumentException - DOCUMENT ME!public void setCoefs(double[][] v)
v - DOCUMENT ME!public void setPacket(boolean[] b)
b - DOCUMENT ME!
public void setCoefs(double[] v,
int i)
v - DOCUMENT ME!i - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!
public void synthesize(Filter filtreprimaire,
double[] param)
filtreprimaire - DOCUMENT ME!param - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!
public void synthesize(Filter filtreprimaire,
double[] param,
int jmax)
filtreprimaire - DOCUMENT ME!param - DOCUMENT ME!jmax - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!
public void synthesizeTout(Filter filtreprimaire,
double[] param)
filtreprimaire - DOCUMENT ME!param - DOCUMENT ME!public void synthesize(Filter filtreprimaire)
filtreprimaire - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!
public void synthesize(Filter filtreprimaire,
int jmax)
filtreprimaire - DOCUMENT ME!jmax - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public void synthesizeAll(Filter filtreprimaire)
filtreprimaire - DOCUMENT ME!public Signal rebuildSignal(Filter filtreprimaire)
filtreprimaire - DOCUMENT ME!
public Signal rebuildSignal(Filter filtreprimaire,
double[] param)
filtreprimaire - DOCUMENT ME!param - DOCUMENT ME!
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.
java.lang.IllegalArgumentException - DOCUMENT ME!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.
java.lang.IllegalArgumentException - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||