M-File Help: AxisWebCamera | View code for AxisWebCamera |
Image from Axis webcam
A concrete subclass of ImageSource that acquires images from a web camera built by Axis Communications (www.axis.com).
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 |
Axis web camera constructor
a = AxisWebCamera(url, options) is an AxisWebCamera object that acquires images from an Axis Communications (www.axis.com) web camera.
'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:
Convert to string
A.char() is a string representing the state of the camera object in human readable form.
Close the image source
A.close() closes the connection to the web camera.
Acquire image from the camera
im = A.grab() is an image acquired from the web camera.
© 1990-2012 Peter Corke.