Cirrus Logic CS485 Spécifications Page 238

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 319
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 237
Intel
®
Image Processing Library Reference Manual
11-16
11
Shear
Performs a shear of
the source image.
void iplShear(IplImage*
srcImage
, IplImage*
dstImage
, double
xShear
,
double
yShear
, double
xShift
, double
yShift
, int
interpolate
);
srcImage
Thesourceimage.
dstImage
The resultant image.
xShear, yShear
The shear coefficients.
xShift, yShift
Additional shift values for the x and y directions.
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).
Discussion
The function iplShear() performs a shear of the source image according
to the following formulas:
x = x +
xShear
·y +
xShift
y = y +
yShear
·x +
yShift
where x and y denote the original pixel coordinates; x and y denote the
pixel coordinates in the sheared image. This shear transform is a special
case of affine transform performed by
iplWarpAffine (see below).
The interpolation specified by
interpolate
is used for resampling the
input image.
Vue de la page 237
1 2 ... 233 234 235 236 237 238 239 240 241 242 243 ... 318 319

Commentaires sur ces manuels

Pas de commentaire