1mlib_ImageSConvKernelConvermte(d3iMaLLIiBb)Library Fmulnicbt_iIomnasgeSConvKernelConvert(3MLIB)
2
3
4

NAME

6       mlib_ImageSConvKernelConvert - kernel conversion for separable convolu‐
7       tion
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_ImageSConvKernelConvert(mlib_s32 *ihkernel,
14            mlib_s32 *ivkernel, mlib_s32 *iscale, const mlib_d64 *fhkernel,
15            const mlib_d64 *fvkernel, mlib_s32 m, mlib_s32 n, mlib_type type);
16
17

DESCRIPTION

19       The mlib_ImageSConvKernelConvert() function converts  a  floating-point
20       separable convolution kernel to an integer kernel with its scaling fac‐
21       tor, which is suitable to be used in separable convolution functions.
22

PARAMETERS

24       The function takes the following arguments:
25
26       ihkernel    Pointer to integer horizontal kernel.
27
28
29       ivkernel    Pointer to integer vertical kernel.
30
31
32       iscale      Scaling factor of the integer convolution kernel.
33
34
35       fhkernel    Pointer to floating-point horizontal kernel.
36
37
38       fvkernel    Pointer to floating-point vertical kernel.
39
40
41       m           Width of the convolution kernel. m must be  an  odd  number
42                   larger than 1.
43
44
45       n           Height  of  the convolution kernel. n must be an odd number
46                   larger than 1.
47
48
49       type        The image type.
50
51

RETURN VALUES

53       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
54       MLIB_FAILURE.
55

ATTRIBUTES

57       See attributes(5) for descriptions of the following attributes:
58
59
60
61
62       ┌─────────────────────────────┬─────────────────────────────┐
63       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │Interface Stability          │Committed                    │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │MT-Level                     │MT-Safe                      │
68       └─────────────────────────────┴─────────────────────────────┘
69

SEE ALSO

71       mlib_ImageSConv3x3(3MLIB),                mlib_ImageSConv3x3_Fp(3MLIB),
72       mlib_ImageSConv5x5(3MLIB),                mlib_ImageSConv5x5_Fp(3MLIB),
73       mlib_ImageSConv7x7(3MLIB), mlib_ImageSConv7x7_Fp(3MLIB), mlib_ImageCon‐
74       vKernelConvert(3MLIB), attributes(5)
75
76
77
78SunOS 5.11                        2 Mar 2007mlib_ImageSConvKernelConvert(3MLIB)
Impressum