Cirrus Logic CS485 Specifiche Pagina 230

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 319
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 229
1 2 ... 225 226 227 228 229 230 231 232 233 234 235 ... 318 319

Commenti su questo manuale

Nessun commento