1mlib_ImageConvKernelConvertm(e3dMiLaILBi)b Library Fumnlcitbi_oInmsageConvKernelConvert(3MLIB)
2
3
4

NAME

6       mlib_ImageConvKernelConvert - convolution kernel conversion
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_ImageConvKernelConvert(mlib_s32 *ikernel, mlib_s32 *iscale,
13            const mlib_d64 *fkernel, mlib_s32 m, mlib_s32 n, mlib_type type);
14
15

DESCRIPTION

17       The  mlib_ImageConvKernelConvert()  function  converts a floating-point
18       convolution kernel to an integer kernel with its scaling  factor  suit‐
19       able to be used in convolution functions.
20

PARAMETERS

22       The function takes the following arguments:
23
24       ikernel    Pointer to integer convolution kernel, in row major order.
25
26
27       iscale     Pointer to scaling factor of the integer convolution kernel.
28
29
30       fkernel    Pointer  to  floating-point convolution kernel, in row major
31                  order.
32
33
34       m          Width of the convolution kernel. m ≥ 1.
35
36
37       n          Height of the convolution kernel. n ≥ 1.
38
39
40       type       The image type. It can be one of the following:
41
42                    MLIB_BIT
43                    MLIB_BYTE
44                    MLIB_SHORT
45                    MLIB_USHORT
46                    MLIB_INT
47
48
49

RETURN VALUES

51       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
52       MLIB_FAILURE.
53

ATTRIBUTES

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

SEE ALSO

69       mlib_ImageConv2x2(3MLIB),    mlib_ImageConv2x2_Fp(3MLIB),   mlib_Image‐
70       Conv2x2Index(3MLIB),       mlib_ImageConv3x3(3MLIB),        mlib_Image‐
71       Conv3x3_Fp(3MLIB),      mlib_ImageConv3x3Index(3MLIB),      mlib_Image‐
72       Conv4x4(3MLIB),        mlib_ImageConv4x4_Fp(3MLIB),         mlib_Image‐
73       Conv4x4Index(3MLIB),        mlib_ImageConv5x5(3MLIB),       mlib_Image‐
74       Conv5x5_Fp(3MLIB),      mlib_ImageConv5x5Index(3MLIB),      mlib_Image‐
75       Conv7x7(3MLIB),         mlib_ImageConv7x7_Fp(3MLIB),        mlib_Image‐
76       Conv7x7Index(3MLIB),      mlib_ImageConvMxN(3MLIB),      mlib_ImageCon‐
77       vMxN_Fp(3MLIB),      mlib_ImageConvMxNIndex(3MLIB),      mlib_ImageCon‐
78       volveMxN(3MLIB),                       mlib_ImageConvolveMxN_Fp(3MLIB),
79       mlib_ImageSConv3x3(3MLIB),                mlib_ImageSConv3x3_Fp(3MLIB),
80       mlib_ImageSConv5x5(3MLIB),                mlib_ImageSConv5x5_Fp(3MLIB),
81       mlib_ImageSConv7x7(3MLIB),                mlib_ImageSConv7x7_Fp(3MLIB),
82       mlib_ImageSConvKernelConvert(3MLIB), attributes(5)
83
84
85
86SunOS 5.11                        2 Mar 2007mlib_ImageConvKernelConvert(3MLIB)
Impressum