de.erichseifert.gral.data.filters
Class Convolution
- java.lang.Object
-
- de.erichseifert.gral.data.AbstractDataSource
-
- de.erichseifert.gral.data.filters.Filter2D
-
- de.erichseifert.gral.data.filters.Convolution
-
- All Implemented Interfaces:
- DataListener, DataSource, java.io.Serializable, java.lang.Iterable<java.lang.Comparable<?>>
public class Convolution extends Filter2D
Class that applies a specified kernel to a data source to convolve it.
Functionality includes:
- Getting and setting the
Kernelused for convolution
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.erichseifert.gral.data.filters.Filter2D
Filter2D.Mode
-
-
Constructor Summary
Constructors Constructor and Description Convolution(DataSource original, Kernel kernel, Filter2D.Mode mode, int... cols)Initialized a new instance with the specified data source, convolution kernel, edge handling mode, and columns to be filtered.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description KernelgetKernel()Returns the kernel.-
Methods inherited from class de.erichseifert.gral.data.filters.Filter2D
dataAdded, dataRemoved, dataUpdated, get, getColumnCount, getMode, getRowCount, setMode
-
Methods inherited from class de.erichseifert.gral.data.AbstractDataSource
addDataListener, getColumn, getColumnStatistics, getColumnTypes, getName, getRecord, getRow, getRowStatistics, getStatistics, isColumnNumeric, iterator, removeDataListener
-
-
-
-
Constructor Detail
-
Convolution
public Convolution(DataSource original, Kernel kernel, Filter2D.Mode mode, int... cols)
Initialized a new instance with the specified data source, convolution kernel, edge handling mode, and columns to be filtered.- Parameters:
original- DataSource to be filtered.kernel- Kernel to be used.mode- Mode of filtering.cols- Column indexes.
-
-
Method Detail
-
getKernel
public Kernel getKernel()
Returns the kernel.- Returns:
- Kernel used for convolution.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG