Function gradientMagnitude

Gradient magnitude and direction, the first Canny pipeline stage.

void gradientMagnitude(
  scope const(float)[] src,
  ulong w,
  ulong h,
  ref float[] magnitude,
  ref float[] direction
) @safe;