MultiCam Boards Documentation > MultiCam Documentation > MultiCam User Guide > The Channel Class > Using Look-Up Tables > How to Operate LUTs? > LUT Loading

LUT Loading

Advanced API

When the LUT is defined using one of the parametric method, its contents is calculated and loaded into the LUT array using a single-step procedure. This involves the LUT_StoreIndex parameter:

  1. Choose an index to designate the LUT set buffer. This is done by setting the integer parameter LUT_StoreIndex to a value between 1 and 4.

Note. The advanced LUT API doesn't allow reading back the table contents.

When the LUT is defined using the table method, transferring the LUT surface contents into the LUT array is a two-step procedure. This involves the LUT_Table and LUT_StoreIndex parameters:

  1. Set the instance parameter LUT_Table to the handle of the LUT surface.
  2. Choose an index to designate the LUT set buffer. This is done by setting the integer parameter LUT_StoreIndex to a value between 1 and 4.

Classic API

Transferring the LUT surface contents to a LUT image inside the LUT array belonging to the frame grabber is a two-steps process. This involves the LutIndex and InputLut parameters:

  1. Set the instance parameter InputLut to the handle of the LUT surface.
  2. Choose an index to designate the LUT buffer. This is done by setting the integer parameter LutIndex to a value between 1 and 32.

LutIndex is a channel-class parameter; each channel owns its own independent set of designating indexes.

Note. In the classic API, loading the LUT into the LUT array triggers automatically the activation of this LUT.