User`s guide
2 Introduction
2-10
Previewing Data
In this section...
“Introduction” on page 2-10
“Opening a Video Preview Window” on page 2-11
“Stopping the Preview Video Stream” on page 2-12
“Closing a Video Preview Window” on page 2-13
“Previewing Data in Custom GUIs” on page 2-13
“Performing Custom Processing of Previewed Data” on page 2-15
Introduction
After you connect MATLAB to the image acquisition device 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 video input object and video
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-11
• “Stopping the Preview Video Stream” on page 2-12
• “Closing a Video Preview Window” on page 2-13
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-13
• “Performing Custom Processing of Previewed Data” on page 2-15
Note: The Image Acquisition Toolbox Preview window and the Preview window that is
built into the Image Acquisition Tool support the display of up to 16-bit image data. The