MATLAB IMAGE ACQUISITION TOOLBOX 3 Guía de usuario Pagina 351

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 408
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 350
NumberOfBands
Purpose Indicate number of color bands in data to be acquired
Description The NumberOfBands property indicates the number of color bands in the
data to be acquired. The toolbox defines band as the third dimension in
a3-Darray,asshowninthisfigure.
The value of
the
NumberOfBands property indicates the number of color
bands in the
data returned by
getsnapshot, getdata,andpeekdata.
Characteristics
Access Read only
Data type
double
Values Any positive integer. The default v alue is defined at
object creation time based on the video format.
Examples Create an
image acquisition object.
vid = videoinput('win video');
Retrieve the value of the NumberOfBands property using the get
function.
get(vid,'NumberOfBands')
ans =
3
14-25
Vista de pagina 350
1 2 ... 346 347 348 349 350 351 352 353 354 355 356 ... 407 408

Comentarios a estos manuales

Sin comentarios