snapshot
R2026bAcquire single image frame from Matrox frame grabber
Description
Add-On Required: This feature requires the Image Acquisition Toolbox Support Package for Matrox Hardware add-on.
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.
Examples
Version History
Introduced in R2014b