Go back to:
Camera
All cameras provide the following functions:
Method
- getXresolution
- Return the camera X resolution (ie number of pixels across).
- getYresolution
- Return the camera Y resolution (ie number of pixels down).
- getNumColorBins
- Returns the number of colour bins supported by this camera.
- setBin
- Sets the value of a given colour bin.
- getBlobs
- Return the number of blobs which match the specified colour bin (or all colour bins).
- fetchBlob
- Return the given blob from the list in the blob variable you have specified.
- getPixel
- Returns the colour of a given pixel.
- getVersion
- Returns the version number of the firmware installed on the camera (if available).
- setMinBlobSize
- Reduces the amount of data returned by the camera by specifying the smallest blob size (width * height) that we are interested in. The default value is 4 pixels (ie 2x2, 4x1, or 1x4).
The following classes provide additional functionality