public class SmoothKernel1D extends Grid1DComplex implements GridKernel
Constructor and Description |
---|
SmoothKernel1D(int size,
int width) |
Modifier and Type | Method and Description |
---|---|
void |
applyToGrid(Grid1D input)
This method implements the Convolution in Fourier Space for a 1-D Grid.
|
void |
applyToGrid(Grid2D input)
This method implements the Convolution with a 2-D Image by applying the Filter to each 1-D subgrid.
|
void |
applyToGrid(Grid3D input)
This method implements the Convolution with a 3-D Image by applying the Filter recursively to each 2-D subgrid.
|
static void |
main(java.lang.String[] args) |
Grid1D |
paddGrid(Grid1D input,
int width) |
addAtIndex, getAtIndex, getImagAtIndex, getImagSubGrid, getMagSubGrid, getPhaseSubGrid, getRealAtIndex, getRealSubGrid, getSize, multiplyAtIndex, multiplyAtIndex, setAtIndex, setImagAtIndex, setRealAtIndex, transformForward, transformInverse
clone, divideAtIndex, getBuffer, getSubGrid, getValue, indexToPhysical, initialize, physicalToIndex, show, show, subAtIndex, toString
getNumberOfElements, getOrigin, getSpacing, setOrigin, setSpacing
public SmoothKernel1D(int size, int width)
size
- width
- odd number!public void applyToGrid(Grid1D input)
applyToGrid
in interface GridKernel
input
- 1-D Imagepublic void applyToGrid(Grid2D input)
input
- 2-D Imagepublic void applyToGrid(Grid3D input)
input
- 3-D Imagepublic static final void main(java.lang.String[] args)