Cirrus Logic CS485 Spécifications Page 226

  • 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 225
Intel
®
Image Processing Library Reference Manual
11-4
11
Zoom
Zooms or expands an
image.
void iplZoom(IplImage*
srcImage
, IplImage*
dstImage
, int
xDst
, int
xSrc
, int
yDst
, int
ySrc
, int
interpolate
);
srcImage
Thesourceimage.
dstImage
The resultant image.
xDst,xSrc,yDst,ySrc
Positive integers specifying the fractions
xDst/xSrc
1and
yDst/ySrc
1 - the factors
by which the x and y dimensions of the image’s
ROI are changed. For example, setting
xDst
=2,
xSrc
=1,
yDst
=2,
ySrc
=1
doubles the image size in each dimension to
increase the image area by a factor of four.
interpolate
The type of interpolation to perform for
resampling. Can be one of the following:
IPL_INTER_NN Nearest neighbor.
IPL_INTER_LINEAR Linear interpolation.
IPL_INTER_CUBIC Cubic interpolation.
Discussion
The function iplZoom() zooms or expands the source image
srcImage
by
xDst/xSrc
in the x direction and
yDst/ySrc
in the y direction. The
interpolation specified by
interpolate
is used for resampling the input
image.
Vue de la page 225
1 2 ... 221 222 223 224 225 226 227 228 229 230 231 ... 318 319

Commentaires sur ces manuels

Pas de commentaire