Function sobel

Sobel horizontal/vertical gradients. Returns horizontal and vertical brightness changes for an image.

void sobel(
  scope const(float)[] src,
  ulong width,
  ulong height,
  ref float[] gx,
  ref float[] gy
) @safe;