CVBpy 15.0
WhiteBalanceFactors Class Reference

Factors for white balance correction. More...

Inherits object.

Public Member Functions

cvb.WhiteBalanceFactors identity ()
 Identity transformation leaving all values as they are. More...
 

Properties

 blue = property
 float: Gets or sets the white balance factor for the blue channel.
 
 green = property
 float: Gets or sets the white balance factor for the green channel.
 
 red = property
 float: Gets or sets the white balance factor for the red channel.
 

Detailed Description

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.

Initialize a white balance factors structure.

Parameters

red : float Correction factor for the red channel.

green : float Correction factor for the green channel.

blue : float Correction factor for the blue channel.

Member Function Documentation

◆ identity()

Identity transformation leaving all values as they are.

Returns

cvb.WhiteBalanceFactors Default white balance factors.