SeparableKernel class

A kernel object to use with separableConvolution filtering.

Constructors

SeparableKernel(int radius)
Create a separable convolution kernel for the given radius.

Properties

coefficients List<num>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
length int
Get the number of coefficients in the kernel.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
final

Methods

apply(Image src, Image dst, {bool horizontal: true}) → void
Apply the kernel to the src image, storing the results in dst, 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 non-existent method or property is accessed. [...]
inherited
scaleCoefficients(num s) → void
Scale all of the coefficients by s.
toString() String
Returns 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.