Cirrus Logic CS485 Spezifikationen Seite 235

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 319
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 234
1 2 ... 230 231 232 233 234 235 236 237 238 239 240 ... 318 319

Kommentare zu diesen Handbüchern

Keine Kommentare