1mlib_ImageMedianFilterMxN_Fmpe(d3iMaLLIiBb)Library Fmulnicbt_iIomnasgeMedianFilterMxN_Fp(3MLIB)
2
3
4
6 mlib_ImageMedianFilterMxN_Fp - MxN median filter
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageMedianFilterMxN_Fp(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);
15
16
18 The mlib_ImageMedianFilterMxN_Fp() function performs MxN median filter‐
19 ing on a floating-point image. Each pixel of the destination image is
20 the pixel with rank middle in the filter window.
21
23 The function takes the following arguments:
24
25 dst Pointer to destination image.
26
27
28 src Pointer to source image.
29
30
31 m Width of the filter window. m must be odd number greater than
32 1.
33
34
35 n Height of the filter window. n must be odd number greater than
36 1.
37
38
39 mmask Shape of the mask to be used for median filtering. It can be
40 one of the following:
41
42 MLIB_MEDIAN_MASK_RECT
43 MLIB_MEDIAN_MASK_PLUS
44 MLIB_MEDIAN_MASK_X
45 MLIB_MEDIAN_MASK_RECT_SEPARABLE
46
47
48
49 cmask Channel mask to indicate the channels to be filtered. Each bit
50 of which represents a channel in the image. The channels cor‐
51 responded to 1 bits are those to be processed.
52
53
54 edge Type of edge condition. It can be one of the following:
55
56 MLIB_EDGE_DST_NO_WRITE
57 MLIB_EDGE_DST_FILL_ZERO
58 MLIB_EDGE_DST_COPY_SRC
59 MLIB_EDGE_SRC_EXTEND
60
61
62
64 The function returns MLIB_SUCCESS if successful. Otherwise it returns
65 MLIB_FAILURE.
66
68 See attributes(5) for descriptions of the following attributes:
69
70
71
72
73 ┌─────────────────────────────┬─────────────────────────────┐
74 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
75 ├─────────────────────────────┼─────────────────────────────┤
76 │Interface Stability │Committed │
77 ├─────────────────────────────┼─────────────────────────────┤
78 │MT-Level │MT-Safe │
79 └─────────────────────────────┴─────────────────────────────┘
80
82 mlib_ImageMaxFilter3x3(3MLIB), mlib_ImageMaxFilter3x3_Fp(3MLIB),
83 mlib_ImageMaxFilter5x5(3MLIB), mlib_ImageMaxFilter5x5_Fp(3MLIB),
84 mlib_ImageMaxFilter7x7(3MLIB), mlib_ImageMaxFilter7x7_Fp(3MLIB),
85 mlib_ImageMedianFilter3x3(3MLIB), mlib_ImageMedianFilter3x3_Fp(3MLIB),
86 mlib_ImageMedianFilter3x3_US(3MLIB), mlib_ImageMedianFilter5x5(3MLIB),
87 mlib_ImageMedianFilter5x5_Fp(3MLIB), mlib_ImageMedianFil‐
88 ter5x5_US(3MLIB), mlib_ImageMedianFilter7x7(3MLIB), mlib_ImageMedian‐
89 Filter7x7_Fp(3MLIB), mlib_ImageMedianFilter7x7_US(3MLIB), mlib_ImageMe‐
90 dianFilterMxN(3MLIB), mlib_ImageMedianFilterMxN_US(3MLIB), mlib_ImageM‐
91 inFilter3x3(3MLIB), mlib_ImageMinFilter3x3_Fp(3MLIB), mlib_ImageMinFil‐
92 ter5x5(3MLIB), mlib_ImageMinFilter5x5_Fp(3MLIB), mlib_ImageMinFil‐
93 ter7x7(3MLIB), mlib_ImageMinFilter7x7_Fp(3MLIB), mlib_ImageRankFil‐
94 ter3x3(3MLIB), mlib_ImageRankFilter3x3_Fp(3MLIB), mlib_ImageRankFil‐
95 ter3x3_US(3MLIB), mlib_ImageRankFilter5x5(3MLIB), mlib_ImageRankFil‐
96 ter5x5_Fp(3MLIB), mlib_ImageRankFilter5x5_US(3MLIB), mlib_ImageRankFil‐
97 ter7x7(3MLIB), mlib_ImageRankFilter7x7_Fp(3MLIB), mlib_ImageRankFil‐
98 ter7x7_US(3MLIB), mlib_ImageRankFilterMxN(3MLIB), mlib_ImageRankFilter‐
99 MxN_Fp(3MLIB), mlib_ImageRankFilterMxN_US(3MLIB), attributes(5)
100
101
102
103SunOS 5.11 2 Mar 2007mlib_ImageMedianFilterMxN_Fp(3MLIB)