Cirrus Logic CS485 Especificações Página 235

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 319
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 234
1 2 ... 230 231 232 233 234 235 236 237 238 239 240 ... 318 319

Comentários a estes Manuais

Sem comentários