MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Uživatelská příručka Strana 23

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 574
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 22
Getting Started Doing Image Acquisition Programmatically
1-7
Getting Started Doing Image Acquisition Programmatically
In this section...
“Overview” on page 1-7
“Step 1: Install Your Image Acquisition Device” on page 1-9
“Step 2: Retrieve Hardware Information” on page 1-9
“Step 3: Create a Video Input Object” on page 1-12
“Step 4: Preview the Video Stream (Optional)” on page 1-13
“Step 5: Configure Object Properties (Optional)” on page 1-14
“Step 6: Acquire Image Data” on page 1-17
“Step 7: Clean Up” on page 1-21
Overview
This section illustrates the basic steps required to create an image acquisition application
by implementing a simple motion detection application. The application detects
movement in a scene by performing a pixel-to-pixel comparison in pairs of incoming
image frames. If nothing moves in the scene, pixel values remain the same in each
frame. When something moves in the image, the application displays the pixels that have
changed values.
The example highlights how you can use the Image Acquisition Toolbox software to
create a working image acquisition application with only a few lines of code.
Note To run the sample code in this example, you must have an image acquisition device
connected to your system. The device can be a professional grade image acquisition
device, such as a frame grabber, or a generic Microsoft
®
Windows
®
image acquisition
device, such as a webcam. The code can be used with various types of devices with only
minor changes.
Zobrazit stránku 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 573 574

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

Žádné komentáře