jsci.maths.wavelet.cdf2_4
Class DualScaling2_4
- java.lang.Object
-
- jsci.maths.wavelet.MultiscaleFunction
-
- jsci.maths.wavelet.cdf2_4.DualScaling2_4
-
- All Implemented Interfaces:
- java.lang.Cloneable
public final class DualScaling2_4 extends MultiscaleFunction implements java.lang.Cloneable
Cohen-Daubechies-Feauveau with N=2 and Ntilde=4 adapted to the interval by Deslauriers-Dubuc-Lemire
-
-
Constructor Summary
Constructors Constructor and Description DualScaling2_4()DualScaling2_4(int N0, int K)
-
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 DualScaling2_4 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
-
-
-
-
Constructor Detail
-
DualScaling2_4
public DualScaling2_4(int N0, int K)
-
DualScaling2_4
public DualScaling2_4()
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object a)
Check if another object is equal to this DualScaling2_4 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
-
clone
public java.lang.Object clone()
Return a copy of this object- Overrides:
clonein 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
-
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