CompassDirImg

DESCRIPTION

Computes the directional gradient of an image in the direction given by the Direction parameter. Directions are the eight major compass headings. For comparison with the other Compass directional modules, North is 0 degrees and directions proceed 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: Direction
Type: Option Menu
Menu Item: North
Menu Item: NorthEast
Menu Item: East
Menu Item: SouthEast
Menu Item: South
Menu Item: SouthWest
Menu Item: West
Menu Item: NorthWest
compass direction

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

PROBLEMS

SEE ALSO

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