MATLAB IMAGE ACQUISITION TOOLBOX 3 Guide de l'utilisateur Page 175

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 408
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 174
Working with Image Data in the MATLAB Workspace
3 View the video format and video resolution properties The toolbox
creates the object with t h e default video format. This format defines the
video resolution.
get(vid,'VideoFormat')
ans =
M_RS170
get(vid,'VideoResolution')
ans =
[640 480]
4 Bring a single frame into the work space —Callthegetsna psho t
function to bring a frame into the workspace.
frame = getsnapshot(v id);
The dimensions of the returned data reflect the image resolution and the
value of the
NumberOfBands property.
vid.NumberOfBands
ans =
1
size(frame)
ans =
480 640
5 Start the image acquisition o bject —Callthestart function to start
the image acquisition object.
start(vid)
The object executes an immediate trigger and begins acquiring frames
of data.
6-15
Vue de la page 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 407 408

Commentaires sur ces manuels

Pas de commentaire