1mlib_ImageMedianFilter7x7_UmSe(d3iMaLLIiBb)Library Fmulnicbt_iIomnasgeMedianFilter7x7_US(3MLIB)
2
3
4

NAME

6       mlib_ImageMedianFilter7x7_US - 7x7 median filter, unsigned
7

SYNOPSIS

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

DESCRIPTION

18       The  mlib_ImageMedianFilter7x7_US()  function performs median filtering
19       on an MLIB_SHORT type of image that contains unsigned data. Each  pixel
20       of  the  destination  image is the pixel with rank middle in the filter
21       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       mmask    Shape of the mask to be used for median filtering. It  can  be
33                one of the following:
34
35                  MLIB_MEDIAN_MASK_RECT
36                  MLIB_MEDIAN_MASK_PLUS
37                  MLIB_MEDIAN_MASK_X
38                  MLIB_MEDIAN_MASK_RECT_SEPARABLE
39
40
41
42       cmask    Channel mask to indicate the channels to be filtered. Each bit
43                of which represents a channel in the image. The channels  cor‐
44                responded to 1 bits are those to be processed.
45
46
47       edge     Type of edge condition. It can be one of the following:
48
49                  MLIB_EDGE_DST_NO_WRITE
50                  MLIB_EDGE_DST_FILL_ZERO
51                  MLIB_EDGE_DST_COPY_SRC
52                  MLIB_EDGE_SRC_EXTEND
53
54
55
56       bits     The  number of unsigned bits for pixel dynamic range. 9 ≤ bits
57                ≤ 15.
58
59

RETURN VALUES

61       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
62       MLIB_FAILURE.
63

ATTRIBUTES

65       See attributes(5) for descriptions of the following attributes:
66
67
68
69
70       ┌─────────────────────────────┬─────────────────────────────┐
71       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
72       ├─────────────────────────────┼─────────────────────────────┤
73       │Interface Stability          │Committed                    │
74       ├─────────────────────────────┼─────────────────────────────┤
75       │MT-Level                     │MT-Safe                      │
76       └─────────────────────────────┴─────────────────────────────┘
77

SEE ALSO

79       mlib_ImageMaxFilter3x3(3MLIB),        mlib_ImageMaxFilter3x3_Fp(3MLIB),
80       mlib_ImageMaxFilter5x5(3MLIB),        mlib_ImageMaxFilter5x5_Fp(3MLIB),
81       mlib_ImageMaxFilter7x7(3MLIB),        mlib_ImageMaxFilter7x7_Fp(3MLIB),
82       mlib_ImageMedianFilter3x3(3MLIB),  mlib_ImageMedianFilter3x3_Fp(3MLIB),
83       mlib_ImageMedianFilter3x3_US(3MLIB),  mlib_ImageMedianFilter5x5(3MLIB),
84       mlib_ImageMedianFilter5x5_Fp(3MLIB),               mlib_ImageMedianFil‐
85       ter5x5_US(3MLIB),  mlib_ImageMedianFilter7x7(3MLIB),  mlib_ImageMedian‐
86       Filter7x7_Fp(3MLIB), mlib_ImageMedianFilterMxN(3MLIB),  mlib_ImageMedi‐
87       anFilterMxN_Fp(3MLIB),             mlib_ImageMedianFilterMxN_US(3MLIB),
88       mlib_ImageMinFilter3x3(3MLIB),        mlib_ImageMinFilter3x3_Fp(3MLIB),
89       mlib_ImageMinFilter5x5(3MLIB),        mlib_ImageMinFilter5x5_Fp(3MLIB),
90       mlib_ImageMinFilter7x7(3MLIB),        mlib_ImageMinFilter7x7_Fp(3MLIB),
91       mlib_ImageRankFilter3x3(3MLIB),      mlib_ImageRankFilter3x3_Fp(3MLIB),
92       mlib_ImageRankFilter3x3_US(3MLIB),      mlib_ImageRankFilter5x5(3MLIB),
93       mlib_ImageRankFilter5x5_Fp(3MLIB),   mlib_ImageRankFilter5x5_US(3MLIB),
94       mlib_ImageRankFilter7x7(3MLIB),      mlib_ImageRankFilter7x7_Fp(3MLIB),
95       mlib_ImageRankFilter7x7_US(3MLIB),      mlib_ImageRankFilterMxN(3MLIB),
96       mlib_ImageRankFilterMxN_Fp(3MLIB),   mlib_ImageRankFilterMxN_US(3MLIB),
97       attributes(5)
98
99
100
101SunOS 5.11                        2 Mar 2007mlib_ImageMedianFilter7x7_US(3MLIB)
Impressum