de.erichseifert.gral.data.filters
Class Convolution
java.lang.Object
de.erichseifert.gral.data.AbstractDataSource
de.erichseifert.gral.data.filters.Filter
de.erichseifert.gral.data.filters.Convolution
- All Implemented Interfaces:
- DataListener, DataSource, Iterable<Number>
public class Convolution
- extends Filter
Class that applies a convolution filter with the use of a kernel.
Functionality includes:
- Getting and setting the Kernel used for convolution
Nested classes/interfaces inherited from class de.erichseifert.gral.data.filters.Filter |
Filter.Mode |
Convolution
public Convolution(DataSource original,
Kernel kernel,
Filter.Mode mode,
int... cols)
- Creates a new Convolution object with the specified DataSource,
Kernel, Mode and columns.
- Parameters:
original
- DataSource to be filtered.kernel
- Kernel to be used.mode
- Mode of filtering.cols
- Column indexes.
getKernel
public Kernel getKernel()
- Returns the Kernel.
- Returns:
- Kernel used for convolution.
Copyright © 2009-2010. All Rights Reserved.