apply method

  1. @override
void apply(
  1. Uint8List pixels,
  2. int width,
  3. int height
)
override

Apply the ConvolutionSubFilter to an Image.

Implementation

@override
void apply(Uint8List pixels, int width, int height) =>
    image_filter_utils.convolute(pixels, width, height,
        this._normalizeKernel(this.weights), this.bias);