SeparableKernel class
A kernel object to use with separableConvolution filtering.
Constructors
- SeparableKernel(int size)
-
Create a separable convolution kernel for the given
radius
.
Properties
Methods
-
apply(
Image src, Image dst, {bool horizontal = true}) → void -
Apply the kernel to the
src
image, storing the results indst
, for a single dimension. If [horizontal is true, the filter will be applied to the horizontal axis, otherwise it will be appied to the vertical axis. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scaleCoefficients(
num s) → void -
Scale all of the coefficients by
s
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
int index) → num - Get a coefficient from the kernel.
-
operator []=(
int index, num c) → void - Set a coefficient in the kernel.