MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guía de usuario Pagina 415

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 574
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 414
getsnapshot
17-23
Note If obj is running but not logging, and has been configured with a hardware trigger,
a timeout error will occur.
To interrupt the getsnapshot function and return control to the MATLAB command
line, issue the ^C (Ctrl+C) command.
Examples
Create a video input object.
obj = videoinput('matrox', 1);
Acquire and display a single frame of data.
frame = getsnapshot(obj);
image(frame);
Remove the video input object from memory.
delete(obj);
For an example of using getsnapshot, see the Image Acquisition Toolbox example
Acquiring a Single Image in a Loop in the Examples list at the top of the
Image Acquisition Toolbox main Documentation Center page, or open the file
demoimaq_GetSnapshot.m in the MATLAB Editor.
See Also
getdata | imaqhelp | peekdata
Vista de pagina 414
1 2 ... 410 411 412 413 414 415 416 417 418 419 420 ... 573 574

Comentarios a estos manuales

Sin comentarios