beautypg.com

Loading an lut into the camera – ALLIED Vision Technologies Stingray F-504 User Manual

Page 141

background image

Description of the data path

STINGRAY Technical Manual V4.4.4

139

Loading an LUT into the camera

Loading the LUT is carried out through the data exchange buffer called
GPDATA_BUFFER. As this buffer can hold a maximum of 2 kB, and a complete
LUT at 4096 x 10 bit is 5 kByte, programming can not take place in a one
block write step because the size of an LUT is larger than GPDATA_BUFFER.
Therefore input must be handled in several steps. The flow diagram below
shows the sequence required to load data into the camera.

Figure 64: Loading an LUT

Note

Configuration

To configure this feature in an advanced register: See

Table 137: Advanced register: LUT

on page 305.

For information on GPDATA_BUFFER: See Chapter

GPDATA_BUFFER

on page 340.

Query limits from

register:

LUT_INFO and
GPDATA_INFO

Set EnableMemWR

to true (1)

Set AddrOffset to 0

Write n databytes

in

GPDATA_BUFFER

Offset is increased

in camera after n

bytes are written

Check

EnableMemWR for

no change

Repeat steps until

all data is written

Set EnableMemWR

to false (0)