Abstract class for image sources
An abstract superclass for implementing image sources.
| 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 |
Image source constructor
i = ImageSource(options) is an ImageSource object that holds parameters related to acquisition from some particular image source.
| 'width', W | Set image width to W |
| 'height', H | Set image height to H |
| 'uint8' | Return image with uint8 pixels (default) |
| 'int16' | Return image with int16 pixels |
| 'int32' | Return image with int32 pixels |
| '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. |
Display value
I.display() displays the state of the image source object in human readable form.
Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.