1mlib_ImageRankFilter5x5(3MLmIeBd)iaLib Library Functimolnisb_ImageRankFilter5x5(3MLIB)
2
3
4
6 mlib_ImageRankFilter5x5 - 5x5 rank filter
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageRankFilter5x5(mlib_image *dst, const mlib_image *src,
13 mlib_s32 rank);
14
15
17 The mlib_ImageRankFilter5x5() function performs 5x5 rank filtering on
18 an image. Each pixel of the destination image is the pixel with the
19 user-specified rank in the filter window.
20
21
22 The source and destination images must be single-channel images.
23
25 The function takes the following arguments:
26
27 dst Pointer to destination image.
28
29
30 src Pointer to source image.
31
32
33 rank The rank of the destination pixel. The pixel with minimum value
34 is designated rank 0.
35
36
38 The function returns MLIB_SUCCESS if successful. Otherwise it returns
39 MLIB_FAILURE.
40
42 See attributes(5) for descriptions of the following attributes:
43
44
45
46
47 ┌─────────────────────────────┬─────────────────────────────┐
48 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
49 ├─────────────────────────────┼─────────────────────────────┤
50 │Interface Stability │Committed │
51 ├─────────────────────────────┼─────────────────────────────┤
52 │MT-Level │MT-Safe │
53 └─────────────────────────────┴─────────────────────────────┘
54
56 mlib_ImageMaxFilter3x3(3MLIB), mlib_ImageMaxFilter3x3_Fp(3MLIB),
57 mlib_ImageMaxFilter5x5(3MLIB), mlib_ImageMaxFilter5x5_Fp(3MLIB),
58 mlib_ImageMaxFilter7x7(3MLIB), mlib_ImageMaxFilter7x7_Fp(3MLIB),
59 mlib_ImageMedianFilter3x3(3MLIB), mlib_ImageMedianFilter3x3_Fp(3MLIB),
60 mlib_ImageMedianFilter3x3_US(3MLIB), mlib_ImageMedianFilter5x5(3MLIB),
61 mlib_ImageMedianFilter5x5_Fp(3MLIB), mlib_ImageMedianFil‐
62 ter5x5_US(3MLIB), mlib_ImageMedianFilter7x7(3MLIB), mlib_ImageMedian‐
63 Filter7x7_Fp(3MLIB), mlib_ImageMedianFilter7x7_US(3MLIB), mlib_ImageMe‐
64 dianFilterMxN(3MLIB), mlib_ImageMedianFilterMxN_Fp(3MLIB), mlib_Image‐
65 MedianFilterMxN_US(3MLIB), mlib_ImageMinFilter3x3(3MLIB), mlib_ImageM‐
66 inFilter3x3_Fp(3MLIB), mlib_ImageMinFilter5x5(3MLIB), mlib_ImageMinFil‐
67 ter5x5_Fp(3MLIB), mlib_ImageMinFilter7x7(3MLIB), mlib_ImageMinFil‐
68 ter7x7_Fp(3MLIB), mlib_ImageRankFilter3x3(3MLIB), mlib_ImageRankFil‐
69 ter3x3_Fp(3MLIB), mlib_ImageRankFilter3x3_US(3MLIB), mlib_ImageRankFil‐
70 ter5x5_Fp(3MLIB), mlib_ImageRankFilter5x5_US(3MLIB), mlib_ImageRankFil‐
71 ter7x7(3MLIB), mlib_ImageRankFilter7x7_Fp(3MLIB), mlib_ImageRankFil‐
72 ter7x7_US(3MLIB), mlib_ImageRankFilterMxN(3MLIB), mlib_ImageRankFilter‐
73 MxN_Fp(3MLIB), mlib_ImageRankFilterMxN_US(3MLIB), attributes(5)
74
75
76
77SunOS 5.11 2 Mar 2007 mlib_ImageRankFilter5x5(3MLIB)