Basler raL2048-48gm User Manual Page 186

  • Download
  • Add to my manuals
  • Print
  • Page
    / 238
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 185
Standard Features AW00118302000
176 Basler racer 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:
1. Use the LUT Selector to select a lookup table. (Currently there is only one lookup table avail-
able, i.e., the "luminance" lookup table described above.)
2. Use the LUT Index parameter to select an index number.
3. Use the LUT Value parameter to enter the substitute value that will be stored at the index
number that you selected in step 2.
4. Repeat steps 2 and 3 to enter other substitute values into the table as desired.
5. 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 < 4096; i += 8 )
{
Camera.LUTIndex.SetValue( i );
Camera.LUTValue.SetValue( 4095 - 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.
Page view 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 237 238

Comments to this Manuals

No comments