Function canny

Compact Canny-style binary edge mask (gradient threshold + hysteresis). Creates a one-byte edge mask. low and high control weak and strong edges.

void canny(
  scope const(float)[] src,
  ulong w,
  ulong h,
  float low,
  float high,
  ref ubyte[] edges
) @safe;