M-File Help: VideoCamera View code for VideoCamera

VideoCamera

Abstract class to read from local video camera

A concrete subclass of ImageSource that acquires images from a local camera using the MATLAB Image Acquisition Toolbox (imaq). This Toolbox provides a multiplatform interface to a range of cameras, and this class provides a simple wrapper.

This class is not intended to be used directly, instead use the factory method Video which will return an instance of this class if the Image Acquisition Toolbox is installed, for example

vid = VideoCamera();

Methods

grab Aquire and return the next image
size Size of image
close Close the image source
char Convert the object parameters to human readable string

See also

videocamera, ImageSource, AxisWebCamera, Movie


 

© 1990-2012 Peter Corke.