Function convolve

Convolve an image with a kernel

SuperImage convolve (
  SuperImage img,
  SuperImage outp,
  float[] kernel,
  uint kw = 3u,
  uint kh = 3u,
  float divisor = 1.00000F,
  float offset = 0.5F,
  bool normalize = true,
  bool useAlpha = true
);

SuperImage convolve (
  SuperImage img,
  float[] kernel,
  uint kw = 3u,
  uint kh = 3u,
  float divisor = 1.00000F,
  float offset = 0.5F,
  bool normalize = true,
  bool useAlpha = true
);