Cirrus Logic CS485 Specifiche Pagina 235

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 319
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 234
GeometricTransforms
11-13
11
iplRotateCenter
Thisfunction-likemacroallowsto
rotateanimagearoundthegiven
center.
iplRotateCenter(
srcImage, dstImage, angle, xCenter
,
yCenter
,
interpolate
);
srcImage
Thesourceimage.
dstImage
Thedestinationimage.
angle
Theangle(indegrees)torotatetheimage
aroundthepointwithcoordinates
(
xCenter
,
yCenter
).
xCenter
,
yCenter
Coordinates of the center of rotation.
interpolate
Thetypeofinterpolationtoperformfor
resamplingtheinputimage.Thefollowing
modesaresupported:
IPL_INTER_NN Nearestneighbor.
IPL_INTER_LINEAR Linearinterpolation.
IPL_INTER_CUBIC Cubicinterpolation.
+IPL_SMOOTH_EDGE Smoothedgesofanimage.
Canbeaddedto
interpolationbyusing
bitwiselogicalOR.
Discussion
UsethemacroiplRotateCentertorotateanimagearoundanarbitrary
center.Therotationcentercoordinates(
xCenter
,
yCenter
) are passed
asarguments,andthecalltotheauxiliaryfunctionthatrecomputesthe
shiftsishidden.
Vedere la pagina 234
1 2 ... 230 231 232 233 234 235 236 237 238 239 240 ... 318 319

Commenti su questo manuale

Nessun commento