beautypg.com

Loading a shading image into the camera, Chapter – ALLIED Vision Technologies Stingray F-504 User Manual

Page 138

background image

Description of the data path

STINGRAY Technical Manual V4.4.4

136

Loading a shading image into the camera

GPDATA_BUFFER is used to load a shading image into the camera. Because
the size of a shading image is larger than GPDATA_BUFFER, input must be
handled in several steps (see also Chapter Reading or writing shading image
from/into the camera
on page 308
):

Note

Configuration

To configure this feature in an advanced register: See

Table 138: Advanced register: Shading

on page 307.

For information on GPDATA_BUFFER: See Chapter

GPDATA_BUFFER

on page 340.

Figure 62: Loading the shading reference image

Query limits from

register:

SHDG_INFO and

GPDATA_INFO

Set EnableMemWR

to true (1)

Set AddrOffset to 0

Write n databytes

in

GPDATA_BUFFER

Increase

AddrOffset by n

bytes

Check

EnableMemWR for

no change

Repeat steps until

all data is written

Set EnableMemWR

to false (0)