1mlib_ImageErode8_Fp(3MLIB)mediaLib Library Functionsmlib_ImageErode8_Fp(3MLIB)
2
3
4

NAME

6       mlib_ImageErode8_Fp - eight neighbor erode
7

SYNOPSIS

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

DESCRIPTION

16       The  mlib_ImageErode8_Fp()  function  performs an erode operation on an
17       image by using all eight of each pixel's neighbors. The source and des‐
18       tination  images  must  be  single-channel images. The data type of the
19       images can be MLIB_FLOAT or MLIB_DOUBLE.
20
21
22       For 8-neighbor grayscale images, it uses the following equation:
23
24         dst[x][y][0] = MIN{ src[p][q][0],
25                             x-1 ≤ p ≤ x+1; y-1 ≤ q ≤ y+1 }
26
27
28
29       where x = 1, ..., w-2; y = 1, ..., h-2.
30

PARAMETERS

32       The function takes the following arguments:
33
34       dst    Pointer to destination image.
35
36
37       src    Pointer to source image.
38
39

RETURN VALUES

41       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
42       MLIB_FAILURE.
43

ATTRIBUTES

45       See attributes(5) for descriptions of the following attributes:
46
47
48
49
50       ┌─────────────────────────────┬─────────────────────────────┐
51       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │Interface Stability          │Committed                    │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │MT-Level                     │MT-Safe                      │
56       └─────────────────────────────┴─────────────────────────────┘
57

SEE ALSO

59       mlib_ImageErode4(3MLIB),                    mlib_ImageErode4_Fp(3MLIB),
60       mlib_ImageErode8(3MLIB), attributes(5)
61
62
63
64SunOS 5.11                        2 Mar 2007        mlib_ImageErode8_Fp(3MLIB)
Impressum