snapshot
Acquire single image frame from Matrox frame grabber
Description
img = snapshot(m);
acquires the current
frame as a single image from the Matrox® frame grabber m
and
assigns it to the variable img
. If you call snapshot
in
a loop, then it returns a new frame each time.
Note
The snapshot
function is for use only with
the matroxcam
object. To acquire images using the videoinput
object,
use the getsnapshot
or getdata
functions.
[img, ts] = snapshot(m);
acquires the current
frame as a single image from the Matrox frame grabber m
and
assigns it to the variable img
, and assigns the
timestamp to the variable ts
.