Cirrus Logic CS485 Dokumentacja Strona 232

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 319
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 231
Intel
®
Image Processing Library Reference Manual
11-10
11
dstImage
The resultant image.
angle
The angle (in degrees) to rotate the image.
The image is rotated around the corner with
coordinates (0,0).
xShift
,
yShift
The shifts along the x-andy-axes to be
performed after the rotation.
interpolate
The type of interpolation to perform for
resampling the source image. The following
modes are supported:
IPL_INTER_NN Nearest neighbor.
IPL_INTER_LINEAR Linear interpolation.
IPL_INTER_CUBIC Cubic interpolation.
+IPL_SMOOTH_EDGE Smooth edges of an image.
Can be added to interpolation
by using bitwise logical OR
(see Appendix B for details).
Discussion
The function iplRotate() rotates the source image
srcImage
by
angle
degrees around the origin (0,0) and shifts it by
xShift
and
yShift
along
the x-andy-axis, respectively. The interpolation specified by
interpolate
is used for resampling the input image.
If you need to rotate the image around an arbitrary center (
xCenter
,
yCenter
) rather than the origin (0,0), you can compute
xShift
and
yShift
using the function iplGetRotateShift and then call
iplRotate(). Alternatively, you can use the iplRotateCenter macro
definition.
Przeglądanie stron 231
1 2 ... 227 228 229 230 231 232 233 234 235 236 237 ... 318 319

Komentarze do niniejszej Instrukcji

Brak uwag