Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

OpenSolaris 2009.06 - man page for mlib_imagemedianfiltermxn_us (opensolaris section 3mlib)

mlib_ImageMedianFilterMxN_US(3MLIB)			    mediaLib Library Functions			       mlib_ImageMedianFilterMxN_US(3MLIB)

mlib_ImageMedianFilterMxN_US - MxN median filter, unsigned
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_ImageMedianFilterMxN_US(mlib_image *dst, const mlib_image *src, mlib_s32 m, mlib_s32 n, mlib_median_mask mmask, mlib_s32 cmask, mlib_edge edge, mlib_s32 bits);
The mlib_ImageMedianFilterMxN_US() function performs MxN median filtering on an MLIB_SHORT type of image that contains unsigned data. Each pixel of the destination image is the pixel with rank middle in the filter window.
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. mmask Shape of the mask to be used for median filtering. It can be one of the following: MLIB_MEDIAN_MASK_RECT MLIB_MEDIAN_MASK_PLUS MLIB_MEDIAN_MASK_X MLIB_MEDIAN_MASK_RECT_SEPARABLE cmask Channel mask to indicate the channels to be filtered. Each bit of which represents a channel in the image. The channels corre- sponded to 1 bits are those to be processed. edge Type of edge condition. It can be one of the following: MLIB_EDGE_DST_NO_WRITE MLIB_EDGE_DST_FILL_ZERO MLIB_EDGE_DST_COPY_SRC MLIB_EDGE_SRC_EXTEND bits The number of unsigned bits for pixel dynamic range. 9 <= bits <= 15.
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
mlib_ImageMaxFilter3x3(3MLIB), mlib_ImageMaxFilter3x3_Fp(3MLIB), mlib_ImageMaxFilter5x5(3MLIB), mlib_ImageMaxFilter5x5_Fp(3MLIB), mlib_ImageMaxFilter7x7(3MLIB), mlib_ImageMaxFilter7x7_Fp(3MLIB), mlib_ImageMedianFilter3x3(3MLIB), mlib_ImageMedianFilter3x3_Fp(3MLIB), mlib_ImageMedianFilter3x3_US(3MLIB), mlib_ImageMedianFilter5x5(3MLIB), mlib_ImageMedianFilter5x5_Fp(3MLIB), mlib_ImageMedianFil- ter5x5_US(3MLIB), mlib_ImageMedianFilter7x7(3MLIB), mlib_ImageMedianFilter7x7_Fp(3MLIB), mlib_ImageMedianFilter7x7_US(3MLIB), mlib_ImageMe- dianFilterMxN(3MLIB), mlib_ImageMedianFilterMxN_Fp(3MLIB), mlib_ImageMinFilter3x3(3MLIB), mlib_ImageMinFilter3x3_Fp(3MLIB), mlib_ImageMin- Filter5x5(3MLIB), mlib_ImageMinFilter5x5_Fp(3MLIB), mlib_ImageMinFilter7x7(3MLIB), mlib_ImageMinFilter7x7_Fp(3MLIB), mlib_ImageRankFil- ter3x3(3MLIB), mlib_ImageRankFilter3x3_Fp(3MLIB), mlib_ImageRankFilter3x3_US(3MLIB), mlib_ImageRankFilter5x5(3MLIB), mlib_ImageRankFil- ter5x5_Fp(3MLIB), mlib_ImageRankFilter5x5_US(3MLIB), mlib_ImageRankFilter7x7(3MLIB), mlib_ImageRankFilter7x7_Fp(3MLIB), mlib_ImageRankFil- ter7x7_US(3MLIB), mlib_ImageRankFilterMxN(3MLIB), mlib_ImageRankFilterMxN_Fp(3MLIB), mlib_ImageRankFilterMxN_US(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_ImageMedianFilterMxN_US(3MLIB)

Featured Tech Videos