jsci.maths.wavelet.daubechies4
Class Scaling4
- java.lang.Object
-
- jsci.maths.wavelet.MultiscaleFunction
-
- jsci.maths.wavelet.daubechies4.Scaling4
-
- All Implemented Interfaces:
- java.lang.Cloneable
public final class Scaling4 extends MultiscaleFunction implements java.lang.Cloneable
Daubechies wavelets adapted to the interval by Meyer. Thanks to Pierre Vial for the filters.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()Return a copy of this objectintdimension()Number of scaling functions at scale where this scaling function belongs.intdimension(int jfin)Starting with dimension() scaling functions and going jfin scales ahead (iterating jfin times), tells you how many scaling functions you'll have.booleanequals(java.lang.Object a)Check if another object is equal to this Scaling4 objectdouble[]evaluate(int j)Return as an array the sampled values of the functionintgetFilterType()This method is used to compute how the number of scaling functions changes from on scale to the other.intposition()Tells you what is the number of this scaling function.voidsetParameters(int N0, int K)Set the parameters for this objectjava.lang.StringtoString()Return a String representation of the object-
Methods inherited from class jsci.maths.wavelet.MultiscaleFunction
mass, mass
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object a)
Check if another object is equal to this Scaling4 object- Specified by:
equalsin classMultiscaleFunction
-
toString
public java.lang.String toString()
Return a String representation of the object- Specified by:
toStringin classMultiscaleFunction
-
getFilterType
public int getFilterType()
This method is used to compute how the number of scaling functions changes from on scale to the other. Basically, if you have k scaling function and a filter of type t, you'll have 2*k+t scaling functions at the next scale (dyadic case). Notice that this method assumes that one is working with the dyadic grid while the method "previousDimension" define in the interface "filter" doesn't.- Specified by:
getFilterTypein classMultiscaleFunction
-
setParameters
public void setParameters(int N0, int K)Set the parameters for this object- Parameters:
N0- number of scaling function on the scale of this objectK- position or number of this object- Throws:
IllegalScalingException- if N0 is not large enough
-
clone
public java.lang.Object clone()
Return a copy of this object- Overrides:
clonein classMultiscaleFunction
-
evaluate
public double[] evaluate(int j)
Return as an array the sampled values of the function- Specified by:
evaluatein classMultiscaleFunction- Parameters:
j- number of iterations
-
dimension
public int dimension(int jfin)
Starting with dimension() scaling functions and going jfin scales ahead (iterating jfin times), tells you how many scaling functions you'll have.- Specified by:
dimensionin classMultiscaleFunction- Parameters:
jfin- number of iterations
-
dimension
public int dimension()
Number of scaling functions at scale where this scaling function belongs.- Specified by:
dimensionin classMultiscaleFunction
-
position
public int position()
Tells you what is the number of this scaling function. Scaling functions are numbered from left to right with the one at the left boundary being noted 0.
-
-
DMelt 3.0 © DataMelt by jWork.ORG