#include <Camera.h>
Public Methods | |
| virtual bool | open (void)=0 |
| Return true on success and false if camera is unsupported on this machine virtual bool open(const char* device) = 0;. More... | |
| virtual void | close (void)=0 |
| Releases camera. More... | |
| virtual void | read (Picture *p_frame)=0 |
| Fetch next frame from camera. More... | |
| virtual bool | iscolor (void) |
| Does this camera return color or grey scale images. More... | |
| virtual void | get_info (CamInfo *info)=0 |
| Get information on image width, height and bits per pixel. More... | |
| virtual void | setBrightness (int value)=0 |
| Set the brightness control of the camera. More... | |
| virtual void | setContrast (int value)=0 |
| Set the contrast control of the camera. More... | |
| virtual void | setSaturation (int value)=0 |
| Set the saturation control of the camera. More... | |
| virtual void | setAutoBrightness (bool on)=0 |
| Toggle the autobrightness feature of the camera driver. More... | |
| virtual int | getBrightness (void)=0 |
| Return the brightness control of the camera. More... | |
| virtual int | getContrast (void)=0 |
| Return the contrast control of the camera. More... | |
| virtual int | getSaturation (void)=0 |
| Return the saturation control of the camera. More... | |
| virtual bool | getAutoBrightness (void)=0 |
| Return whether the autobrightness feature of the camera driver is enabled or not. More... | |
|
|
Releases camera. Must be called if open succeded. |
|
|
Get information on image width, height and bits per pixel.
|
|
|
Return whether the autobrightness feature of the camera driver is enabled or not.
|
|
|
Return the brightness control of the camera.
|
|
|
Return the contrast control of the camera.
|
|
|
Return the saturation control of the camera.
|
|
|
Does this camera return color or grey scale images.
|
|
|
Return true on success and false if camera is unsupported on this machine virtual bool open(const char* device) = 0;.
|
|
|
Fetch next frame from camera.
|
|
|
Toggle the autobrightness feature of the camera driver. Note that if the camera has autobrightness on the chip, then this can not (usually) be disabled by this function. |
|
|
Set the brightness control of the camera. Note that for camera with autobrightness chips, this usually has no effect. |
|
|
Set the contrast control of the camera.
|
|
|
Set the saturation control of the camera.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002