Function computeConvolutionValue

  • Compute the convolution of a value of a pixel in an image.

    Parameters

    • column: number

      Column of the pixel.

    • row: number

      Row of the pixel.

    • channel: number

      Channel to process.

    • image: Image

      Image to process.

    • kernel: number[][]

      Kernel for the convolutions.

    • interpolateBorder: BorderInterpolationFunction

      Function to interpolate the border pixels.

    • options: ComputeConvolutionValueOptions = {}

      Compute convolution value options.

    Returns number

    The convoluted value.