Factors for white balance correction. More...
Public Member Functions | |
WhiteBalanceFactors (double r, double g, double b) | |
Initialize a white balance factors structure. More... | |
Static Public Attributes | |
static readonly WhiteBalanceFactors | Identity = new WhiteBalanceFactors(1.0, 1.0, 1.0) |
Identity transformation leaving all values as they are. | |
Factors for white balance correction.
Note that the whitebalance 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.
WhiteBalanceFactors | ( | double | r, |
double | g, | ||
double | b | ||
) |
Initialize a white balance factors structure.
r | Correction factor for the red channel |
g | Correction factor for the green channel |
b | Correction factor for the blue channel |