mediaLib Library Functions mlibImageMedianFilter7x7US(3MLIB)
NAME
mlibImageMedianFilter7x7US - 7x7 median filter, unsigned
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibImageMedianFilter7x7US(mlibimage *dst,
const mlibimage *src, mlibmedianmask mmask, mlibs32 cmask,
mlibedge edge, mlibs32 bits);
DESCRIPTION
The mlibImageMedianFilter7x7US() function performs median
filtering on an MLIBSHORT type of image that contains
unsigned data. Each pixel of the destination image is the
pixel with rank middle in the filter window.
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
mmask Shape of the mask to be used for median filtering.
It can be one of the following:
MLIBMEDIANMASKRECT
MLIBMEDIANMASKPLUS
MLIBMEDIANMASKX
MLIBMEDIANMASKRECTSEPARABLE
cmask Channel mask to indicate the channels to be fil-
tered. Each bit of which represents a channel in
the image. The channels corresponded to 1 bits are
those to be processed.
edge Type of edge condition. It can be one of the fol-
lowing:
MLIBEDGEDSTNOWRITE
MLIBEDGEDSTFILZERO
MLIBEDGEDSTCOPYSRC
MLIBEDGESRCEXTEND
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibImageMedianFilter7x7US(3MLIB)
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.
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),
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),
SunOS 5.11 Last change: 2 Mar 2007 2
mediaLib Library Functions mlibImageMedianFilter7x7US(3MLIB)
mlibImageRankFilter5x5US(3MLIB),
mlibImageRankFilter7x7(3MLIB),
mlibImageRankFilter7x7Fp(3MLIB),
mlibImageRankFilter7x7US(3MLIB),
mlibImageRankFilterMxN(3MLIB),
mlibImageRankFilterMxNFp(3MLIB),
mlibImageRankFilterMxNUS(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 3
|