M-File Help: AxisWebCamera View code for AxisWebCamera

AxisWebCamera

Image from Axis webcam

A concrete subclass of ImageSource that acquires images from a web camera built by Axis Communications (www.axis.com).

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

ImageSource, Video


AxisWebCamera.AxisWebCamera

Axis web camera constructor

a = AxisWebCamera(url, options) is an AxisWebCamera object that acquires images from an Axis Communications (www.axis.com) web camera.

Options

'uint8' Return image with uint8 pixels (default)
'float' Return image with float pixels
'double' Return image with double precision pixels
'grey' Return greyscale image
'gamma', G Apply gamma correction with gamma=G
'scale', S Subsample the image by S in both directions.
'resolution', S Obtain an image of size S=[W H].

Notes:


AxisWebCamera.char

Convert to string

A.char() is a string representing the state of the camera object in human readable form.

See also

AxisWebCamera.display


AxisWebCamera.close

Close the image source

A.close() closes the connection to the web camera.


AxisWebCamera.grab

Acquire image from the camera

im = A.grab() is an image acquired from the web camera.

Notes


 

© 1990-2012 Peter Corke.