Gradient magnitude.
Gradient orientation of the same image source as magnitude.
Optional pre-allocated buffer for output slice.
TaskPool instance used parallelise the algorithm.
Note: Orientation and pre-allocated structures must match. If prealloc buffer is not given, orient memory has to be contiguous. See: dcv.imgproc.filter.calcGradients, dcv.imgproc.convolution
Edge detection impulse non-maxima supression.
Filtering used in canny edge detection algorithm - suppresses all edge impulses (gradient values along edges normal) except the peek value.