Cirrus Logic CS485 Dokumentacja Strona 246

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 319
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 245
Intel
®
Image Processing Library Reference Manual
11-24
11
WarpPerspective
WarpPerspectiveQ
Warps an image by a
perspective transform.
void iplWarpPerspective(IplImage*
srcImage
, IplImage*
dstImage
,
const double
coeffs
[3][3], int
warpFlag
, int
interpolate
);
void iplWarpPerspectiveQ(IplImage*
srcImage
, IplImage*
dstImage
,
const double
quad
[4][2], int
warpFlag
, int
interpolate
);
srcImage
Thesourceimage.
dstImage
The resultant image.
coeffs
Array with perspective transform coefficients.
warpFlag
A flag: either IPL_R_TO_Q (ROI to quadrangle) or
IPL_Q_TO_R (quadrangle to ROI). See Discussion.
interpolate
The type of interpolation to perform for resampling.
Can be one of the following:
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).
quad
Array of coordinates of the reference quadrangle
vertices. If
warpFlag
is IPL_R_TO_Q,the
rectangular ROI of the source image is mapped to
the reference quadrangle. If
warpFlag
is
IPL_Q_TO_R, the source quadrangle is mapped to
the rectangular ROI of the destination image.
Przeglądanie stron 245
1 2 ... 241 242 243 244 245 246 247 248 249 250 251 ... 318 319

Komentarze do niniejszej Instrukcji

Brak uwag