For color cameras there are white balance controls ASI_WB_R and ASI_WB_B. It appears that the ASI driver (or possibly the camera hardware) manipulates the blue and red pixel values when these are not set to 50. The default values for these controls are 70 for red and 90 for blue. I have no idea what values are reasonable in this application, but it seems worth some investigation.
Do the following:
[ ] Determine if the white balance adjustments are performed in the ASI driver or in the camera hardware. If these are performed in the ASI driver then there is no need to enforce white balance settings because capture no longer uses the ASI driver to retrieve data from the camera.
If white balance adjustments are performed in the camera hardware:
[ ] Add enforcement of white balance values.
[ ] Investigate what white balance values would be reasonable defaults.
[ ] Add program arguments to override the defaults.
For color cameras there are white balance controls
ASI_WB_R
andASI_WB_B
. It appears that the ASI driver (or possibly the camera hardware) manipulates the blue and red pixel values when these are not set to 50. The default values for these controls are 70 for red and 90 for blue. I have no idea what values are reasonable in this application, but it seems worth some investigation.Do the following:
capture
no longer uses the ASI driver to retrieve data from the camera.If white balance adjustments are performed in the camera hardware: