1mlib_ImageMedianFilter3x3_Fmpe(d3iMaLLIiBb)Library Fmulnicbt_iIomnasgeMedianFilter3x3_Fp(3MLIB)
2
3
4
6 mlib_ImageMedianFilter3x3_Fp - 3x3 median filter
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageMedianFilter3x3_Fp(mlib_image *dst,
13 const mlib_image *src, mlib_median_mask mmask, mlib_s32 cmask,
14 mlib_edge edge);
15
16
18 The mlib_ImageMedianFilter3x3_Fp() function performs floating-point
19 median filtering on an 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 mmask Shape of the mask to be used for median filtering. It can be
32 one of the following:
33
34 MLIB_MEDIAN_MASK_RECT
35 MLIB_MEDIAN_MASK_PLUS
36 MLIB_MEDIAN_MASK_X
37 MLIB_MEDIAN_MASK_RECT_SEPARABLE
38
39
40
41 cmask Channel mask to indicate the channels to be filtered. Each bit
42 of which represents a channel in the image. The channels cor‐
43 responded to 1 bits are those to be processed.
44
45
46 edge Type of edge condition. It can be one of the following:
47
48 MLIB_EDGE_DST_NO_WRITE
49 MLIB_EDGE_DST_FILL_ZERO
50 MLIB_EDGE_DST_COPY_SRC
51 MLIB_EDGE_SRC_EXTEND
52
53
54
56 The function returns MLIB_SUCCESS if successful. Otherwise it returns
57 MLIB_FAILURE.
58
60 See attributes(5) for descriptions of the following attributes:
61
62
63
64
65 ┌─────────────────────────────┬─────────────────────────────┐
66 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
67 ├─────────────────────────────┼─────────────────────────────┤
68 │Interface Stability │Committed │
69 ├─────────────────────────────┼─────────────────────────────┤
70 │MT-Level │MT-Safe │
71 └─────────────────────────────┴─────────────────────────────┘
72
74 mlib_ImageMaxFilter3x3(3MLIB), mlib_ImageMaxFilter3x3_Fp(3MLIB),
75 mlib_ImageMaxFilter5x5(3MLIB), mlib_ImageMaxFilter5x5_Fp(3MLIB),
76 mlib_ImageMaxFilter7x7(3MLIB), mlib_ImageMaxFilter7x7_Fp(3MLIB),
77 mlib_ImageMedianFilter3x3(3MLIB), mlib_ImageMedianFilter3x3_US(3MLIB),
78 mlib_ImageMedianFilter5x5(3MLIB), mlib_ImageMedianFilter5x5_Fp(3MLIB),
79 mlib_ImageMedianFilter5x5_US(3MLIB), mlib_ImageMedianFilter7x7(3MLIB),
80 mlib_ImageMedianFilter7x7_Fp(3MLIB), mlib_ImageMedianFil‐
81 ter7x7_US(3MLIB), mlib_ImageMedianFilterMxN(3MLIB), mlib_ImageMedian‐
82 FilterMxN_Fp(3MLIB), mlib_ImageMedianFilterMxN_US(3MLIB), mlib_ImageM‐
83 inFilter3x3(3MLIB), mlib_ImageMinFilter3x3_Fp(3MLIB), mlib_ImageMinFil‐
84 ter5x5(3MLIB), mlib_ImageMinFilter5x5_Fp(3MLIB), mlib_ImageMinFil‐
85 ter7x7(3MLIB), mlib_ImageMinFilter7x7_Fp(3MLIB), mlib_ImageRankFil‐
86 ter3x3(3MLIB), mlib_ImageRankFilter3x3_Fp(3MLIB), mlib_ImageRankFil‐
87 ter3x3_US(3MLIB), mlib_ImageRankFilter5x5(3MLIB), mlib_ImageRankFil‐
88 ter5x5_Fp(3MLIB), mlib_ImageRankFilter5x5_US(3MLIB), mlib_ImageRankFil‐
89 ter7x7(3MLIB), mlib_ImageRankFilter7x7_Fp(3MLIB), mlib_ImageRankFil‐
90 ter7x7_US(3MLIB), mlib_ImageRankFilterMxN(3MLIB), mlib_ImageRankFilter‐
91 MxN_Fp(3MLIB), mlib_ImageRankFilterMxN_US(3MLIB), attributes(5)
92
93
94
95SunOS 5.11 2 Mar 2007mlib_ImageMedianFilter3x3_Fp(3MLIB)