setVideoSaturation
Top  Previous  Next

setVideoSaturation ( integer Saturation )

Use this function to set the color saturation of the camera.

Depending on the video driver and availability of the Saturation feature, the function performs the following actions:

 
Simulation
No action

BitFlow Camera Interface
No action

FireWire (IEEE-1394)
Sets the Saturation reference level
OPUS camera
No action
Video for Windows (VFW)
No action

DirectShow (WDM)
No action



Parameters
 
 
Saturation  
 
An integer specifying the camera Saturation. The parameter should be in the range supported by the camera.  
 
 
Error flags

ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  
 
Example

This set of statements switches between two Saturation values every 10 seconds:  
 
showVideo(TRUE)  
Do  
 setVideoSaturation(100)  
 wait(10000)  
 setVideoSaturation(1)  
 wait(10000)  
Loop