|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdenoise.Convolver
public class Convolver
Field Summary | |
---|---|
protected static int |
MIRROR
|
protected static int |
PERIODIC
|
Constructor Summary | |
---|---|
protected |
Convolver(int boundaryConditions)
Constructor of the class Convolver. |
Method Summary | |
---|---|
protected void |
convolveFIR(double[] signal,
double[] kernel,
int origin)
Convolution with a Finite Impulse Response (FIR) filter. |
protected void |
convolveIIR(double[] signal,
double[] poles)
Convolve with with an Infinite Impluse Response filter (IIR) |
protected void |
convolveIIR2(double[] signal,
double b1,
double b2)
Convolve a 1D signal with a Infinite Impluse Response 2nd order (IIR2) Note: Only with the mirror (on bounds) boundary conditions. |
protected int |
getBoundaryConditions()
Get the boundary conditions. |
protected double |
getTolerance()
Get the tolerance. |
protected void |
setBoundaryConditions(int boundaryConditions)
Set the boundary conditions. |
protected void |
setTolerance(int tolerance)
Set the tolerance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int MIRROR
protected static final int PERIODIC
Constructor Detail |
---|
protected Convolver(int boundaryConditions)
boundaryConditions
- Boundary ConditionsMethod Detail |
---|
protected void setBoundaryConditions(int boundaryConditions)
boundaryConditions
- Boundary Conditionsprotected int getBoundaryConditions()
protected void setTolerance(int tolerance)
tolerance
- Tolearance valueprotected double getTolerance()
protected void convolveFIR(double[] signal, double[] kernel, int origin)
signal
- 1D input signal, 1D output signal at the end (in-place)kernel
- kernel of the filterorigin
- originprotected void convolveIIR(double[] signal, double[] poles)
signal
- 1D input signal, 1D output signal at the end (in-place)poles
- 1D array containing the poles of the filterprotected void convolveIIR2(double[] signal, double b1, double b2)
signal
- 1D input signal, 1D output signal at the end (in-place)b1
- first pole of the filterb2
- second pole of the filter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |