1mlib_ImageMaxFilter5x5_Fp(3mMeLdIiBa)Lib Library Funcmtliiobn_sImageMaxFilter5x5_Fp(3MLIB)
2
3
4

NAME

6       mlib_ImageMaxFilter5x5_Fp - 5x5 Max Filter
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_ImageMaxFilter5x5_Fp(mlib_image *dst,
13           const mlib_image *src);
14
15

DESCRIPTION

17       The mlib_ImageMaxFilter5x5_Fp() function replaces the center pixel in a
18       neighborhood with the floating-point maximum value in that neighborhood
19       for each 5x5 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] = MAX{ src[p][q][0],
28                             x-2 ≤ p ≤ x+2; y-2 ≤ q ≤ y+2 }
29
30
31
32       where x = 2, ..., w - 3; y = 2, ..., h - 3.
33

PARAMETERS

35       The function takes the following arguments:
36
37       dst    Pointer to destination image.
38
39
40       src    Pointer to source image.
41
42

RETURN VALUES

44       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
45       MLIB_FAILURE.
46

ATTRIBUTES

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

SEE ALSO

62       mlib_ImageMaxFilter3x3(3MLIB),        mlib_ImageMaxFilter3x3_Fp(3MLIB),
63       mlib_ImageMaxFilter5x5(3MLIB),           mlib_ImageMaxFilter7x7(3MLIB),
64       mlib_ImageMaxFilter7x7_Fp(3MLIB),     mlib_ImageMedianFilter3x3(3MLIB),
65       mlib_ImageMedianFilter3x3_Fp(3MLIB),               mlib_ImageMedianFil‐
66       ter3x3_US(3MLIB),  mlib_ImageMedianFilter5x5(3MLIB),  mlib_ImageMedian‐
67       Filter5x5_Fp(3MLIB), mlib_ImageMedianFilter5x5_US(3MLIB), mlib_ImageMe‐
68       dianFilter7x7(3MLIB), mlib_ImageMedianFilter7x7_Fp(3MLIB),  mlib_Image‐
69       MedianFilter7x7_US(3MLIB),            mlib_ImageMedianFilterMxN(3MLIB),
70       mlib_ImageMedianFilterMxN_Fp(3MLIB),            mlib_ImageMedianFilter‐
71       MxN_US(3MLIB),     mlib_ImageMinFilter3x3(3MLIB),     mlib_ImageMinFil‐
72       ter3x3_Fp(3MLIB),   mlib_ImageMinFilter5x5(3MLIB),    mlib_ImageMinFil‐
73       ter5x5_Fp(3MLIB),    mlib_ImageMinFilter7x7(3MLIB),   mlib_ImageMinFil‐
74       ter7x7_Fp(3MLIB),  mlib_ImageRankFilter3x3(3MLIB),   mlib_ImageRankFil‐
75       ter3x3_Fp(3MLIB), mlib_ImageRankFilter3x3_US(3MLIB), mlib_ImageRankFil‐
76       ter5x5(3MLIB),  mlib_ImageRankFilter5x5_Fp(3MLIB),   mlib_ImageRankFil‐
77       ter5x5_US(3MLIB),   mlib_ImageRankFilter7x7(3MLIB),  mlib_ImageRankFil‐
78       ter7x7_Fp(3MLIB), mlib_ImageRankFilter7x7_US(3MLIB), mlib_ImageRankFil‐
79       terMxN(3MLIB), mlib_ImageRankFilterMxN_Fp(3MLIB), mlib_ImageRankFilter‐
80       MxN_US(3MLIB), attributes(5)
81
82
83
84SunOS 5.11                        2 Mar 2007  mlib_ImageMaxFilter5x5_Fp(3MLIB)
Impressum