mediaLib Library Functions mlibImageRankFilterMxNUS(3MLIB)
NAME
mlibImageRankFilterMxNUS - MxN rank filter, unsigned
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibImageRankFilterMxNUS(mlibimage *dst,
const mlibimage *src, mlibs32 m, mlibs32 n, mlibs32 rank,
mlibs32 bits);
DESCRIPTION
The mlibImageRankFilterMxNUS() function performs MxN rank
filtering on an MLIBSHORT type of image that contains
unsigned data. Each pixel of the destination image is the
pixel with the user-specified rank in the filter window.
The source and destination images must be single-channel
images.
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
m Width of the filter window. m must be odd number
greater than 1.
n Height of the filter window. n must be odd number
greater than 1.
rank The rank of the destination pixel. The pixel with
minimum value is designated rank 0.
bits The number of unsigned bits for pixel dynamic range.
9 < bits < 15.
RETURN VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibImageRankFilterMxNUS(3MLIB)
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibImageMaxFilter3x3(3MLIB),
mlibImageMaxFilter3x3Fp(3MLIB),
mlibImageMaxFilter5x5(3MLIB),
mlibImageMaxFilter5x5Fp(3MLIB),
mlibImageMaxFilter7x7(3MLIB),
mlibImageMaxFilter7x7Fp(3MLIB),
mlibImageMedianFilter3x3(3MLIB),
mlibImageMedianFilter3x3Fp(3MLIB),
mlibImageMedianFilter3x3US(3MLIB),
mlibImageMedianFilter5x5(3MLIB),
mlibImageMedianFilter5x5Fp(3MLIB),
mlibImageMedianFilter5x5US(3MLIB),
mlibImageMedianFilter7x7(3MLIB),
mlibImageMedianFilter7x7Fp(3MLIB),
mlibImageMedianFilter7x7US(3MLIB),
mlibImageMedianFilterMxN(3MLIB),
mlibImageMedianFilterMxNFp(3MLIB),
mlibImageMedianFilterMxNUS(3MLIB),
mlibImageMinFilter3x3(3MLIB),
mlibImageMinFilter3x3Fp(3MLIB),
mlibImageMinFilter5x5(3MLIB),
mlibImageMinFilter5x5Fp(3MLIB),
mlibImageMinFilter7x7(3MLIB),
mlibImageMinFilter7x7Fp(3MLIB),
mlibImageRankFilter3x3(3MLIB),
mlibImageRankFilter3x3Fp(3MLIB),
mlibImageRankFilter3x3US(3MLIB),
mlibImageRankFilter5x5(3MLIB),
mlibImageRankFilter5x5Fp(3MLIB),
mlibImageRankFilter5x5US(3MLIB),
mlibImageRankFilter7x7(3MLIB),
mlibImageRankFilter7x7Fp(3MLIB),
mlibImageRankFilter7x7US(3MLIB),
mlibImageRankFilterMxN(3MLIB),
mlibImageRankFilterMxNFp(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|