MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Podręcznik Użytkownika Strona 204

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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.
Przeglądanie stron 203
1 2 ... 199 200 201 202 203 204 205 206 207 208 209 ... 573 574

Komentarze do niniejszej Instrukcji

Brak uwag