Specifications
Intel
®
Image Processing Library Reference Manual
6-6
6
nShiftR
Scale the resulting output pixel by shifting it to
the right
nShiftR
times.
Discussion
Functions iplCreateConvKernel() and iplCreateConvKernelFP() are
used to create convolution kernels of arbitrary size with arbitrary anchor
point. The function
iplCreateConvKernelChar() serves primarily for
compatibility with previous releases of the library. It uses
char rather than
integer input values to creates the same kernel as
iplCreateConvKernel().
Return Value
A pointer to the convolution kernel structure IplConvKernel.
GetConvKernel, GetConvKernelChar
GetConvKernelFP
Reads the attributes of a
convolution kernel.
void iplGetConvKernel(IplConvKernel*
kernel
, int*
nCols
,
int*
nRows
, int*
anchorX
, int*
anchorY
, int**
values
,
int*
nShiftR
);
void iplGetConvKernelChar(IplConvKernel*
kernel
, int*
nCols
, int*
nRows
, int*
anchorX
, int*
anchorY
, char**
values
, int*
nShiftR
);
void iplGetConvKernelFP(IplConvKernelFP*
kernel
, int*
nCols
, int*
nRows
, int*
anchorX
, int*
anchorY
, float**
values
);
kernel
The kernel to get the attributes for. The attributes
are returned in the remaining arguments.