User`s guide
2 Introduction
Previewing Data
In this section.. .
“Introduction” on page 2-8
“Opening a Video Preview Window” on page 2-9
“Stopping the P review Video Stream” on page 2-10
“Closing a Video Preview Window” on page 2-11
“Previewing Data in Custom GUIs” on page 2-11
“Performing Custom Processing of Previewed Data” o n page 2-13
Introduction
After you connect MATLAB to the image acquisition device (see Chapter 4,
“Connecting to Hardware”), you can view the live video stream using the
Video Preview window. Previewing the video data can help you make sure
that the image being captured is satisfactory.
For example, by looking at a preview, you can verify that the lighting and
focus are correct. If you change characteristics of the image, by using v ideo
input object and v ideo source object properties, the image displayed in the
Video Preview window changes to reflect the new property settings.
The following sections provide more information about using the Video
Preview window.
• “Opening a Video Preview Window” on page 2-9
• “Stopping the Preview Video Stream” on page 2-10
• “Closing a Video Preview Window” on page 2-11
Instead of using the toolbox’s Video Preview window, you can display the live
video preview stream in any Handle Graphics
®
image object you specify. In
this way, you can include video previewing in a GUI of your own creation. The
following sections describe this capability.
• “Previewing Data in Custom GUIs” on page 2-11
2-8