1mlib_ImageMedianFilterMxN_UmSe(d3iMaLLIiBb)Library Fmulnicbt_iIomnasgeMedianFilterMxN_US(3MLIB)
2
3
4

NAME

6       mlib_ImageMedianFilterMxN_US - MxN median filter, unsigned
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_ImageMedianFilterMxN_US(mlib_image *dst,
13            const mlib_image *src, mlib_s32 m, mlib_s32 n, mlib_median_mask mmask,
14            mlib_s32 cmask, mlib_edge edge, mlib_s32 bits);
15
16

DESCRIPTION

18       The mlib_ImageMedianFilterMxN_US() function performs MxN median filter‐
19       ing on an MLIB_SHORT type of image that contains  unsigned  data.  Each
20       pixel  of  the  destination  image is the pixel with rank middle in the
21       filter window.
22

PARAMETERS

24       The function takes the following arguments:
25
26       dst      Pointer to destination image.
27
28
29       src      Pointer to source image.
30
31
32       m        Width of the filter window. m must be odd number greater  than
33                1.
34
35
36       n        Height of the filter window. n must be odd number greater than
37                1.
38
39
40       mmask    Shape of the mask to be used for median filtering. It  can  be
41                one of the following:
42
43                  MLIB_MEDIAN_MASK_RECT
44                  MLIB_MEDIAN_MASK_PLUS
45                  MLIB_MEDIAN_MASK_X
46                  MLIB_MEDIAN_MASK_RECT_SEPARABLE
47
48
49
50       cmask    Channel mask to indicate the channels to be filtered. Each bit
51                of which represents a channel in the image. The channels  cor‐
52                responded to 1 bits are those to be processed.
53
54
55       edge     Type of edge condition. It can be one of the following:
56
57                  MLIB_EDGE_DST_NO_WRITE
58                  MLIB_EDGE_DST_FILL_ZERO
59                  MLIB_EDGE_DST_COPY_SRC
60                  MLIB_EDGE_SRC_EXTEND
61
62
63
64       bits     The  number of unsigned bits for pixel dynamic range. 9 ≤ bits
65                ≤ 15.
66
67

RETURN VALUES

69       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
70       MLIB_FAILURE.
71

ATTRIBUTES

73       See attributes(5) for descriptions of the following attributes:
74
75
76
77
78       ┌─────────────────────────────┬─────────────────────────────┐
79       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
80       ├─────────────────────────────┼─────────────────────────────┤
81       │Interface Stability          │Committed                    │
82       ├─────────────────────────────┼─────────────────────────────┤
83       │MT-Level                     │MT-Safe                      │
84       └─────────────────────────────┴─────────────────────────────┘
85

SEE ALSO

87       mlib_ImageMaxFilter3x3(3MLIB),        mlib_ImageMaxFilter3x3_Fp(3MLIB),
88       mlib_ImageMaxFilter5x5(3MLIB),        mlib_ImageMaxFilter5x5_Fp(3MLIB),
89       mlib_ImageMaxFilter7x7(3MLIB),        mlib_ImageMaxFilter7x7_Fp(3MLIB),
90       mlib_ImageMedianFilter3x3(3MLIB),  mlib_ImageMedianFilter3x3_Fp(3MLIB),
91       mlib_ImageMedianFilter3x3_US(3MLIB),  mlib_ImageMedianFilter5x5(3MLIB),
92       mlib_ImageMedianFilter5x5_Fp(3MLIB),               mlib_ImageMedianFil‐
93       ter5x5_US(3MLIB),  mlib_ImageMedianFilter7x7(3MLIB),  mlib_ImageMedian‐
94       Filter7x7_Fp(3MLIB), mlib_ImageMedianFilter7x7_US(3MLIB), mlib_ImageMe‐
95       dianFilterMxN(3MLIB), mlib_ImageMedianFilterMxN_Fp(3MLIB), mlib_ImageM‐
96       inFilter3x3(3MLIB), mlib_ImageMinFilter3x3_Fp(3MLIB), mlib_ImageMinFil‐
97       ter5x5(3MLIB),    mlib_ImageMinFilter5x5_Fp(3MLIB),   mlib_ImageMinFil‐
98       ter7x7(3MLIB),   mlib_ImageMinFilter7x7_Fp(3MLIB),   mlib_ImageRankFil‐
99       ter3x3(3MLIB),   mlib_ImageRankFilter3x3_Fp(3MLIB),  mlib_ImageRankFil‐
100       ter3x3_US(3MLIB),  mlib_ImageRankFilter5x5(3MLIB),   mlib_ImageRankFil‐
101       ter5x5_Fp(3MLIB), mlib_ImageRankFilter5x5_US(3MLIB), mlib_ImageRankFil‐
102       ter7x7(3MLIB),  mlib_ImageRankFilter7x7_Fp(3MLIB),   mlib_ImageRankFil‐
103       ter7x7_US(3MLIB), mlib_ImageRankFilterMxN(3MLIB), mlib_ImageRankFilter‐
104       MxN_Fp(3MLIB), mlib_ImageRankFilterMxN_US(3MLIB), attributes(5)
105
106
107
108SunOS 5.11                        2 Mar 2007mlib_ImageMedianFilterMxN_US(3MLIB)
Impressum