SharpenImg
DESCRIPTION
Computes a edge-enhanced image by convolving with a sharpening kernel.
The sharpening kernel is based upon the circular kernel used in
BlurImg, but with different weights. The weight for all "count" of the
kernel elements inside the circle is -Sharpen, except for the center,
which gets a weight of
1 + Sharpen * (count - 1)
so that the weights sum to unity. Sharpen must lie in the range
[0..1]. This edge detection method is described in:
Digital Image Processing, Gonzales, R.C., Wintz, P.,
Addison Wesley, Second Edition, 1987, pp 176--186.
INPUTS
Port: Img In
Type: Lattice
Constraints: 1..3-D.
source image
WIDGETS
Port: Sharpness
Type: Dial
Port: Radius
Type: Dial
sharpen radius
OUTPUTS
Port: Img Out
Type: Lattice
Constraints: 1..3-D.
sharpened image
PROBLEMS
SEE ALSO
SobelEdgeImg
LaplaceEdgeImg
BlurImg
[
Documentation Home ]
© The Numerical Algorithms Group Ltd,
Oxford UK. 1996