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

  • 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 486
videoinput
17-95
obj = videoinput(adaptorname,deviceID,format,P1,V1,...) creates a video
input object obj with the specified property values. If an invalid property name or
property value is specified, the object is not created.
The property name and property value pairs can be in any format supported by the set
function, i.e., parameter/value string pairs, structures, or parameter/value cell array
pairs.
To view a complete listing of video input object functions and properties, use the
imaqhelp function.
imaqhelp videoinput
In the documentation, see “Image Acquisition Toolbox Properties” on page 5-28 for links
to the property reference pages.
Examples
Construct a video input object.
obj = videoinput('matrox', 1);
Select the source to use for acquisition.
obj.SelectedSourceName = 'input1'
View the properties for the selected video source object.
src_obj = getselectedsource(obj);
get(src_obj)
Preview a stream of image frames.
preview(obj);
Acquire and display a single image frame.
frame = getsnapshot(obj);
image(frame);
Remove video input object from memory.
delete(obj);
Vue de la page 486
1 2 ... 482 483 484 485 486 487 488 489 490 491 492 ... 573 574

Commentaires sur ces manuels

Pas de commentaire