The output is clipped to the valid data range for its word type, for instance [0..255] for byte data and [0..65535] for short data. The two kernels areoutput = | convolve( input, X ) | + | convolve( input, Y ) |
Edge detection by convolution with Sobel kernels is discussed in: Digital Image Processing, Gonzales, R.C., Wintz, P., Addison Wesley, Second Edition, 1987, p 337.X Y -1 +0 +1 +1 +2 +1 -2 +0 +2 +0 +0 +0 -1 +0 +1 -1 -2 -1
Port: Img In
Type: Lattice
Constraints: 1..3-D.
source image
Port: Bias
Type: Slider
additive bias
Port: Img Out
Type: Lattice
Constraints: 1..3-D.
edge enhanced filtered image