preview
Preview of live video data
Description
preview(
creates a Video
Preview window that displays live video data for video input object
obj
)obj
. The window also displays the timestamp and video
resolution of each frame, the current frame rate, and the current status of
obj
. The Video Preview window displays the video data at
100% magnification. The size of the preview image is determined by the value of the
video input object ROIPosition
property.
Components of a Video Preview Window
The Video Preview window remains active until it is either stopped using stoppreview
or closed using closepreview
. If you delete the object, by calling
delete(obj)
, the Video Preview window stops previewing and
closes automatically.
preview(
displays live video data for video input object himage
,himage
)obj
in the
image object specified by the handle himage
.
preview
scales the image data to fill the entire area
of the image object but does not modify the values of any image object properties.
Use this syntax to preview video data in a custom GUI of your own design. For more
information on customized GUIs, see Previewing Data in Custom GUIs.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced before R2006a