Content-type: text/html
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_ImageSConvKernelConvert(mlib_s32 *ihkernel, mlib_s32 *ivkernel, mlib_s32 *iscale, const mlib_d64 *fhkernel, const mlib_d64 *fvkernel, mlib_s32 m, mlib_s32 n, mlib_type type);
The mlib_ImageSConvKernelConvert() function converts a floating-point separable convolution kernel to an integer kernel with its scaling factor, which is suitable to be used in separable convolution functions.
The function takes the following arguments:
ihkernel
ivkernel
iscale
fhkernel
fvkernel
m
n
type
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|
mlib_ImageSConv3x3(3MLIB), mlib_ImageSConv3x3_Fp(3MLIB), mlib_ImageSConv5x5(3MLIB), mlib_ImageSConv5x5_Fp(3MLIB), mlib_ImageSConv7x7(3MLIB), mlib_ImageSConv7x7_Fp(3MLIB), mlib_ImageConvKernelConvert(3MLIB), attributes(5)