Cirrus Logic CS485 Especificações Página 293

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 319
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 292
Interpolation in Geometric Transformation Functions
B-7
B
For each source pixel intersecting with the rectangle, Figure B-3 shows the
corresponding weight value.
(3) To compute the pixel value in the destination image, divide this
weighted sum by the rectangle area
(xSrc*ySrc)/(xDst*yDst)
.
Here
xSrc
,
xDst
,
ySrc
,and
yDst
are parameters passed to the functions
iplDecimate and iplResize to set the decimation ratios
xDst
/
xSrc
and
yDst
/
ySrc
.
Figure B-3 Super-sampling Weights
1
1
1
1
1
1
1
1
1
2
2
2
3
3
2
x
3
1
x
3
To use super-sampling, set the value IPL_INTER_SUPER for the parameter
interpolate
.
Vista de página 292
1 2 ... 288 289 290 291 292 293 294 295 296 297 298 ... 318 319

Comentários a estes Manuais

Sem comentários