M-File Help: ImageSource View code for ImageSource

ImageSource

Abstract class for image sources

An abstract superclass for implementing image sources.

Methods

grab Aquire and return the next image
close Close the image source
iscolor True if image is color
size Size of image
char Convert image source parameters to human readable string
display Display image source parameters in human readable form

See also

AxisWebCamera, Video, Movie


ImageSource.ImageSource

Image source constructor

i = ImageSource(options) is an ImageSource object that holds parameters related to acquisition from some particular image source.

Options

'width', W Set image width to W
'height', H Set image height to H
'uint8' Return image with uint8 pixels (default)
'float' Return image with float pixels
'double' Return image with double precision pixels
'grey' Return image is greyscale
'gamma', G Apply gamma correction with gamma=G
'scale', S Subsample the image by S in both directions.

ImageSource.display

Display value

I.display() displays the state of the image source object in human readable form.

Notes


 

© 1990-2012 Peter Corke.