Function separableConvolution

  • Compute the separable convolution of an image.

    Parameters

    • image: Image

      Image to convolute.

    • kernelX: number[]

      Kernel along x axis.

    • kernelY: number[]

      Kernel along y axis.

    • options: ConvolutionOptions = {}

      Convolution options.

    Returns Image

    The convoluted image.