MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guida Utente Pagina 415

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la 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
Vedere la pagina 414
1 2 ... 410 411 412 413 414 415 416 417 418 419 420 ... 573 574

Commenti su questo manuale

Nessun commento