Cirrus Logic CS485 Specifiche Pagina 141

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 319
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 140
Image Filtering
6-7
6
nCols, nRows
Numbers of columns and rows in the convolution
kernel. Set by the function.
anchorX, anchorY
Pointers to the [x, y] coordinates of the anchor
cell in the kernel. (See iplCreateConvKernel
above.) Set by the function.
values
A pointer to an array of values to be used for the
kernel matrix. The values are read in row-major
form starting with the top left corner. There will
be exactly
nRows
*
nCols
entries in this array.
For example, the array [1, 2, 3, 4, 5, 6, 7, 8, 9]
would represent the kernel matrix
123
456
789
nShiftR
A pointer to the number of bits to shift (to the
right) the resulting output pixel of each
convolution. Set by the function.
Discussion
Functions iplGetConvKernel() and iplGetConvKernelFP() are used to
read the convolution kernel attributes. The
iplGetConvKernelChar()
function serves primarily for compatibility with previous releases. It gives
you 1-byte
char rather than integer values of the convolution kernel; you’ll
probably need this function only if you create kernels using
iplCreateConvKernelChar().
Vedere la pagina 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 318 319

Commenti su questo manuale

Nessun commento