The author used two software tools in working with the Axis 206 camera. The Axis 206 Camera Web Server interface was used to change camera settings and to capture images. The National Instruments Vision Assistant was used to process the captured images.
Phil Malone (Mentor: Team 1629) has further developed the procedure by adapting the LabVIEW FRC “Locate Colored Object” example, and he describes his easy-to-use method in another Think Tank article.
Once the FRC green lamp has been turned on for a period of time, its light level and color properties stay relatively constant, even under differing lighting conditions. It is these constant properties of the green lamp – it’s hue, saturation and luminance – that can be used in identifying and locating the lamp.
By default, the Axis 206 exposure and white balance are set to automatically adjust to compensate for differing lighting conditions. Automatic adjustment may work well when capturing images of reflected light of variable level and color temperature. However, it is better to use fixed exposure level and white balance settings to capture an image of a light source whose brightness and color temperature remains relatively constant under variable lighting conditions.
If the camera is allowed to automatically vary exposure and white balance when imaging the green lamp under variable lighting conditions, the apparent properties of the lamp will vary from image to image as the camera auto-adjusts to the lighting conditions. In order to obtain consistent imaging of the lamp, the exposure and white balance settings can be fixed at the optimum “green-lamp” level. Achieving that optimum level is the trick.
When auto-adjusting for exposure, the Axis camera seems to adjust for average brightness of the image. If the green lamp fills the entire image, auto-adjustment will achieve the correct exposure for the lamp. The camera exposure can then be held fixed. The camera will retain its settings even if powered off and then on again.