RankFltImg

DESCRIPTION

Performs a 2D rank filter on an image. A 3 x 3 neighborhood of points is sorted by value in ascending order and the target point is replaced by the pixel of a specified Rank. For example, for a 3 x 3 neighborhood, Rank can specify min (0), max (8) or median (4). RankFltImg subsumes the operation of the modules MedianFltImg, MinFltImg, and MaxFltImg. Rank filtering is similar to the median filter, discussed in: Digital Image Processing, Gonzales, R.C., Wintz, P., Addison Wesley, Second Edition, 1987, pp 162--163.

INPUTS

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

WIDGETS

Port: Rank
Type: Slider
rank by which to filter

OUTPUTS

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

PROBLEMS

SEE ALSO

MedianFltImg MinFltImg MaxFltImg
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996