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

  • 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 468
snapshot
17-77
snapshot
Acquire single image frame from GigE Vision camera
Syntax
img = snapshot(g);
Description
img = snapshot(g); acquires the current frame as a single image from the GigE
camera g and assigns it to the variable img. If you call snapshot in a loop, then it
returns a new frame each time. The returned image is based on the Pixel Format of your
camera. snapshot uses the camera’s default resolution or another resolution that you
specify using the Height and Width properties, if available.
Note: The snapshot function is for use only with the gigecam object. To acquire images
using the videoinput object, use the getsnapshot or getdata functions.
Examples
Acquire One Image Frame from GigE Camera
Use the snapshot function to acquire one image frame from a GigE Vision camera. You
then show it using a display function such as imshow or image.
Use the gigecamlist function to ensure that MATLAB is discovering your camera.
gigecamlist
ans =
Model Manufacturer IPAddress SerialNumber
____________________ ___________________ _______________ ______________
Vue de la page 468
1 2 ... 464 465 466 467 468 469 470 471 472 473 474 ... 573 574

Commentaires sur ces manuels

Pas de commentaire