AW00097603000 Color Creation and EnhancementBasler aviator GigE 119Camera.ProcessedRawEnable.SetValue( true );// Select the matrix color transformation typeCamera.ColorTransformationSelector.SetValue( ColorTransformationSelector_RGBtoRGB );// Set the light source selector so that no correction will be doneCamera.LightSourceSelector.SetValue( LightSourceSelector_Off );// Set the light source selector for tungsten lightingCamera.LightSourceSelector.SetValue( LightSourceSelector_Tungsten );// Set the light source selector for daylight (at about 5000K)Camera.LightSourceSelector.SetValue( LightSourceSelector_Daylight );// Set the light source selector for daylight (at about 6500K)Camera.LightSourceSelector.SetValue( LightSourceSelector_Daylight6500K );// Set the matrix correction factorCamera.ColorTransformationMatrixFactor.SetValue( 0.50 );You can also use the Basler pylon Viewer application to easily set the parameters.For more information about the pylon API and the pylon Viewer, see Section 3 on page 21.8.3.3.1 The Custom Light Source SettingThe RGB to RGB color matrix conversion for each pixel is performed by multiplying a 1 x 3 matrixcontaining R, G, and B color values with a 3 x 3 matrix containing correction values. Each columnin the 3 x 3 matrix can be populated with values of your choice. In other words:Where Gain00, Gain01, etc. are settable values.The "Custom" setting for the Light Source Selector parameter is intended for useby someone who is thoroughly familiar with matrix color transformations. It isnearly impossible to enter correct values in the conversion matrix by trialand error.Gain00 Gain01 Gain02Gain10 Gain11 Gain12Gain20 Gain21 Gain22RGBRGB=