Edge - Serabe/rinzelight GitHub Wiki

Edge

Detects the edge of an image. Its only parameter is the radius of the kernel (meaning that the kernel will be a square matrix whose dimension is 2*radius+1 being radius the ceil of the parameter).

The matrix for the kernel is filled with -1.0 except for the center, that contains the number of elements in the matrix, i.e. width*width.

You can add a convolution operator and a few rendering hints at the end (optional parameters).

⚠️ **GitHub.com Fallback** ⚠️