MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guide de l'utilisateur Page 499

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 574
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 498
DiskLogger
18-9
clear vidobj
Using an AVI File
Create and configure an AVI file object.
file = avifile('logfile.avi');
file.Quality = 50;
Create and configure a video input object.
vid = videoinput('winvideo', 1);
vid.LoggingMode = 'disk&memory';
vid.DiskLogger = file;
Start logging data to disk.
start(vid)
To ensure that the logged data is written to the disk file, close the AVI file. As an
argument to the close function, specify the value of the video input object DiskLogger
property, vid.DiskLogger, to reference the AVI file object, not the original variable,
file, returned by the avifile function.
file = close(vid.DiskLogger);
Vue de la page 498
1 2 ... 494 495 496 497 498 499 500 501 502 503 504 ... 573 574

Commentaires sur ces manuels

Pas de commentaire