1mlib_ImageMax_Inp(3MLIB) mediaLib Library Functions mlib_ImageMax_Inp(3MLIB)
2
3
4
6 mlib_ImageMax_Inp - two image maximum
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageMax_Inp(mlib_image *src1dst, const mlib_image *src2);
13
14
16 The mlib_ImageMax_Inp() function accepts input from the two source
17 images and writes the maximum in place on a pixel-by-pixel basis.
18
19
20 It uses the following equation:
21
22 src1dst[x][y][i] = MAX{ src1dst[x][y][i], src2[x][y][i] }
23
24
26 The function takes the following arguments:
27
28 src1dst Pointer to source and destination image.
29
30
31 src2 Pointer to second source image.
32
33
35 The function returns MLIB_SUCCESS if successful. Otherwise it returns
36 MLIB_FAILURE.
37
39 See attributes(5) for descriptions of the following attributes:
40
41
42
43
44 ┌─────────────────────────────┬─────────────────────────────┐
45 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │Interface Stability │Committed │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │MT-Level │MT-Safe │
50 └─────────────────────────────┴─────────────────────────────┘
51
53 mlib_ImageMax(3MLIB), mlib_ImageMax_Fp(3MLIB), mlib_Image‐
54 Max_Fp_Inp(3MLIB), attributes(5)
55
56
57
58SunOS 5.11 2 Mar 2007 mlib_ImageMax_Inp(3MLIB)