MATLAB IMAGE ACQUISITION TOOLBOX 3 Guide de l'utilisateur Page 333

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 408
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 332
DiskLogger
Examples Create and configure an AV I file object.
file = avifile('logfi le.avi');
file.Quality = 50;
Create and co nfigure a video input o bject.
vid = videoinput('win video', 1);
vid.LoggingMode = 'dis k&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.Disk Logger);
Delete the image acquisition objectfrommemorywhenitisnolonger
needed.
delete(vid)
clear vid
See Also Functions
videoinput
Properties
DiskLoggerFrameCount, Logg ing, LoggingMode
14-7
Vue de la page 332
1 2 ... 328 329 330 331 332 333 334 335 336 337 338 ... 407 408

Commentaires sur ces manuels

Pas de commentaire