Cirrus Logic CS485 Spécifications Page 145

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 319
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 144
Image Filtering
6-11
6
ConvolveSep2D, ConvolveSep2DFP
Convolves an image with a
separable convolution kernel.
void iplConvolveSep2D (IplImage*
srcImage
,
IplImage*
dstImage
, IplConvKernel*
xKernel
,
IplConvKernel*
yKernel
);
void iplConvolveSep2DFP (IplImage*
srcImage
,
IplImage*
dstImage
, IplConvKernelFP*
xKernel
,
IplConvKernelFP*
yKernel
);
srcImage
Thesourceimage.
dstImage
The resultant image.
xKernel
The x or row kernel. Must contain only one row.
yKernel
The y or column kernel. Must contain only one column.
Discussion
The functions iplConvolveSep2D() and iplConvolveSep2DFP() are
used to convolve the input image
srcImage
with the separable kernel
specified by the row kernel
xKernel
and column kernel
yKernel
.The
functions write the convolution results to the output image
dstImage
.
Use
iplConvolveSep2DFP() only for images with 32-bit floating-point
data. For all other image data types, use
iplConvolveSep2D().
One of the kernel arguments
xKernel
or
yKernel
(but not both) can be
NULL, for example:
iplConvolveSep2DFP (src, dst, xKernel, NULL);
iplConvolveSep2DFP (src, dst, NULL, yKernel);
Vue de la page 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 318 319

Commentaires sur ces manuels

Pas de commentaire