MATLAB IMAGE ACQUISITION TOOLBOX 3 Uživatelská příručka Strana 175

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 408
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 407 408

Komentáře k této Příručce

Žádné komentáře