1mlib_ImageMinFilter3x3_Fp(3mMeLdIiBa)Lib Library Funcmtliiobn_sImageMinFilter3x3_Fp(3MLIB)
2
3
4
6 mlib_ImageMinFilter3x3_Fp - 3x3 Min Filter, floating point
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageMinFilter3x3_Fp(mlib_image *dst,
13 const mlib_image *src);
14
15
17 The mlib_ImageMinFilter3x3_Fp() function replaces the center pixel in a
18 neighborhood with the floating-point minimum value in that neighborhood
19 for each 3x3 neighborhood in the image.
20
21
22 The source and destination images must be single-channel images.
23
24
25 It uses the following equation:
26
27 dst[x][y][0] = MIN{ src[p][q][0],
28 x-1 ≤ p ≤ x+1; y-1 ≤ q ≤ y+1 }
29
30
31
32 where x = 1, ..., w - 2; y = 1, ..., h - 2.
33
35 The function takes the following arguments:
36
37 dst Pointer to destination image.
38
39
40 src Pointer to source image.
41
42
44 The function returns MLIB_SUCCESS if successful. Otherwise it returns
45 MLIB_FAILURE.
46
48 See attributes(5) for descriptions of the following attributes:
49
50
51
52
53 ┌─────────────────────────────┬─────────────────────────────┐
54 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │Interface Stability │Committed │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │MT-Level │MT-Safe │
59 └─────────────────────────────┴─────────────────────────────┘
60
62 mlib_ImageMaxFilter3x3(3MLIB), mlib_ImageMaxFilter3x3_Fp(3MLIB),
63 mlib_ImageMaxFilter5x5(3MLIB), mlib_ImageMaxFilter5x5_Fp(3MLIB),
64 mlib_ImageMaxFilter7x7(3MLIB), mlib_ImageMaxFilter7x7_Fp(3MLIB),
65 mlib_ImageMedianFilter3x3(3MLIB), mlib_ImageMedianFilter3x3_Fp(3MLIB),
66 mlib_ImageMedianFilter3x3_US(3MLIB), mlib_ImageMedianFilter5x5(3MLIB),
67 mlib_ImageMedianFilter5x5_Fp(3MLIB), mlib_ImageMedianFil‐
68 ter5x5_US(3MLIB), mlib_ImageMedianFilter7x7(3MLIB), mlib_ImageMedian‐
69 Filter7x7_Fp(3MLIB), mlib_ImageMedianFilter7x7_US(3MLIB), mlib_ImageMe‐
70 dianFilterMxN(3MLIB), mlib_ImageMedianFilterMxN_Fp(3MLIB), mlib_Image‐
71 MedianFilterMxN_US(3MLIB), mlib_ImageMinFilter3x3(3MLIB), mlib_ImageM‐
72 inFilter5x5(3MLIB), mlib_ImageMinFilter5x5_Fp(3MLIB), mlib_ImageMinFil‐
73 ter7x7(3MLIB), mlib_ImageMinFilter7x7_Fp(3MLIB), mlib_ImageRankFil‐
74 ter3x3(3MLIB), mlib_ImageRankFilter3x3_Fp(3MLIB), mlib_ImageRankFil‐
75 ter3x3_US(3MLIB), mlib_ImageRankFilter5x5(3MLIB), mlib_ImageRankFil‐
76 ter5x5_Fp(3MLIB), mlib_ImageRankFilter5x5_US(3MLIB), mlib_ImageRankFil‐
77 ter7x7(3MLIB), mlib_ImageRankFilter7x7_Fp(3MLIB), mlib_ImageRankFil‐
78 ter7x7_US(3MLIB), mlib_ImageRankFilterMxN(3MLIB), mlib_ImageRankFilter‐
79 MxN_Fp(3MLIB), mlib_ImageRankFilterMxN_US(3MLIB), attributes(5)
80
81
82
83SunOS 5.11 2 Mar 2007 mlib_ImageMinFilter3x3_Fp(3MLIB)