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

  • 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 203
7 Working with Acquired Image Data
7-6
delete(vid)
clear vid
Viewing Frames in the Memory Buffer
To view sample frames from the memory buffer without removing them, use the
peekdata function.
The peekdata function always returns the most recently acquired frames in the
memory buffer. For example, if you request three frames, peekdata returns the most
recently acquired frame in the buffer at the time of the request and the two frames that
immediately precede it.
The following figure illustrates this process. The command peekdata(vid,3) is called
at three different times (T
1
, T
2
, and T
3
). The shaded frames indicate the frames returned
by peekdata at each call. (peekdata returns frames without removing them from the
memory buffer.)
Note in the figure that, at T
3
, only two frames have become available since the last call
to peekdata. In this case, peekdata returns only the two frames, with a warning that it
returned less data than was requested.
Vue de la page 203
1 2 ... 199 200 201 202 203 204 205 206 207 208 209 ... 573 574

Commentaires sur ces manuels

Pas de commentaire