Cirrus Logic CS485 Spécifications Page 230

  • 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 229
Intel
®
Image Processing Library Reference Manual
11-8
11
iplZoomFit
iplDecimateFit
iplResizeFit
Macro definitions that change
the image size using the images’
dimensions as scaling factors.
iplZoomFit(
SRC, DST, INTER
);
iplDecimateFit(
SRC, DST, INTER
);
iplResizeFit(
SRC, DST, INTER
);
SRC
Thesourceimage.
DST
The destination image.
INTER
The type of interpolation to perform for
resampling the source image.
Discussion
Use macro definitions iplZoomFit(), iplDecimateFit(),
iplResizeFit()
to resize a source image ROI so that its dimensions fit
into the destination ROI (or the whole image) size. These macros use
dimensions of source and destination images’ ROIs (or the sizes of whole
images) to determine the respective scaling factors in x-andy- directions.
Note that
SRC
and
DST
pointers to IplImage structures are used but not
checked in the macros. Thus, it is essential that your application checks
that these pointers specify valid source and destination images.
Vue de la page 229
1 2 ... 225 226 227 228 229 230 231 232 233 234 235 ... 318 319

Commentaires sur ces manuels

Pas de commentaire