1mlib_ImageMedianFilter3x3_UmSe(d3iMaLLIiBb)Library Fmulnicbt_iIomnasgeMedianFilter3x3_US(3MLIB)
2
3
4
6 mlib_ImageMedianFilter3x3_US - 3x3 median filter, unsigned
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageMedianFilter3x3_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
18 The mlib_ImageMedianFilter3x3_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
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
61 The function returns MLIB_SUCCESS if successful. Otherwise it returns
62 MLIB_FAILURE.
63
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
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_ImageMedianFilter5x5(3MLIB), mlib_ImageMedianFilter5x5_Fp(3MLIB),
84 mlib_ImageMedianFilter5x5_US(3MLIB), mlib_ImageMedianFilter7x7(3MLIB),
85 mlib_ImageMedianFilter7x7_Fp(3MLIB), mlib_ImageMedianFil‐
86 ter7x7_US(3MLIB), mlib_ImageMedianFilterMxN(3MLIB), mlib_ImageMedian‐
87 FilterMxN_Fp(3MLIB), mlib_ImageMedianFilterMxN_US(3MLIB), mlib_ImageM‐
88 inFilter3x3(3MLIB), mlib_ImageMinFilter3x3_Fp(3MLIB), mlib_ImageMinFil‐
89 ter5x5(3MLIB), mlib_ImageMinFilter5x5_Fp(3MLIB), mlib_ImageMinFil‐
90 ter7x7(3MLIB), mlib_ImageMinFilter7x7_Fp(3MLIB), mlib_ImageRankFil‐
91 ter3x3(3MLIB), mlib_ImageRankFilter3x3_Fp(3MLIB), mlib_ImageRankFil‐
92 ter3x3_US(3MLIB), mlib_ImageRankFilter5x5(3MLIB), mlib_ImageRankFil‐
93 ter5x5_Fp(3MLIB), mlib_ImageRankFilter5x5_US(3MLIB), mlib_ImageRankFil‐
94 ter7x7(3MLIB), mlib_ImageRankFilter7x7_Fp(3MLIB), mlib_ImageRankFil‐
95 ter7x7_US(3MLIB), mlib_ImageRankFilterMxN(3MLIB), mlib_ImageRankFilter‐
96 MxN_Fp(3MLIB), mlib_ImageRankFilterMxN_US(3MLIB), attributes(5)
97
98
99
100SunOS 5.11 2 Mar 2007mlib_ImageMedianFilter3x3_US(3MLIB)