
32
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:
Set
AddrOffset
to 0
Write n databytes to
GPDATA_BUFFER
Check
EnableMemWR
for no change
Increase
AddrOffset
by n bytes
Repeat
steps 5 and 6
until all data is written
Set
EnableMemWR
back to 0
Limits query
Read registers
SHDG_INFO and
GPDA-TA_INFO
Figure 29 Loading a shading image
7.7
Color interpolation and correction
In the sensors used color information is captured via the primary color filters placed
over the individual pixels in a ”BAYER mosaic” layout. Simple Bayer -> RGB color
interpolation already takes place in the Dolphin F-201C color version. When converting
to the YUV format color correction is done at the same time.