
11 Using the GigE Vision Interface
11-14
closePreview(g)
7
Acquire a single image from the camera using the snapshot function, and assign it
to the variable img
img = snapshot(g);
8
Display the acquired image.
imshow(img)
9
Clean up by clearing the object.
clear g