CompassAngleImg

DESCRIPTION

Computes the directional gradient of an image in the direction given by the Angle parameter. Directions are compass headings, with North being 0 degrees and proceeding clockwise. The gradient is computed using a square kernel whose edge length is governed by the Kernel Size parameter. The Bias parameter adds a constant amount to the output gradient array. This directional gradient computation is described in:

Digital Image Processing, Gonzales, R.C., Wintz, P., Addison Wesley, Second Edition, 1987, pp 176--179.

INPUTS

Port: Img In
Type: Lattice
Constraints: 1..3-D
Source image.

WIDGETS

Port: Angle
Type: Dial
Angle of rotation.

Port: Bias
Type: Slider
Additive bias.

Port: Kernel Size
Type: Slider
One side of the square kernel.

OUTPUTS

Port: Img Out
Type: Lattice
Constraints: 1..3-D
Directional gradient image.

KNOWN PROBLEMS

SEE ALSO

CompassDirImg, CompassImg, Gradient.
[Documentation Home]
© The Numerical Algorithms Group Ltd, Oxford UK. 2000