Factors for white balance correction. More...
Public Member Functions | |
| None | WhiteBalanceFactors (self, float red, float green, float blue) |
| Initialize a white balance factors structure. | |
| cvb.WhiteBalanceFactors | identity () |
| Identity transformation leaving all values as they are. | |
Factors for white balance correction.
The white balance factors inside this structure are internally stored as integers with 1 / 256 increments. Therefore even though the values are exposed as doubles, they cannot represent the full range of double values.
| None WhiteBalanceFactors | ( | self, | |
| float | red, | ||
| float | green, | ||
| float | blue ) |
Initialize a white balance factors structure.
red : float Correction factor for the red channel.
green : float Correction factor for the green channel.
blue : float Correction factor for the blue channel.
| cvb.WhiteBalanceFactors identity | ( | ) |
Identity transformation leaving all values as they are.
cvb.WhiteBalanceFactors Default white balance factors.