Standard Features AW00011916000
286 Basler scout GigE
Changing the Values in the Luminance Lookup Table and Enabling the Table
You can change the values in the luminance lookup table (LUT) and enable the use of the lookup
table by doing the following:
Use the LUT Selector to select a lookup table. (Currently there is only one lookup table
available, i.e., the "luminance" lookup table described above.)
Use the LUT Index parameter to select a value in the lookup table. The LUT Index parameter
selects the value in the table to change. The index number for the first value in the table is 0,
for the second value in the table is 1, for the third value in the table is 2, and so on.
Use the LUT Value parameter to set the selected value in the lookup table.
Use the LUT Index parameter and LUT value parameters to set other table values as desired.
Use the LUT Enable parameter to enable the table.
You can set the LUT Selector, the LUT Index parameter and the LUT Value parameter from within
your application software by using the pylon API. The following code snippet illustrates using the
API to set the selector and the parameter values:
// Select the lookup table
Camera.LUTSelector.SetValue( LUTSelector_Luminance );
// Write a lookup table to the device.
// The following lookup table causes an inversion of the sensor values
// ( bright -> dark, dark -> bright )
for ( int i = 0; i < 1024; i += 2 )
{
Camera.LUTIndex.SetValue( i );
Camera.LUTValue.SetValue( 1023 - i );
}
// Enable the lookup table
Camera.LUTEnable.SetValue( true );
For detailed information about using the pylon API, refer to the Basler pylon Programmer’s Guide
and API Reference.
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon Viewer, see Section 3.1 on page 43.