
RMV Operations Manual Revision Copyright illunis LLC, 2014
Page 81
5.6: Image Processing
Flat Field Correction
The CCD sensors with micro lens have a QE
directly related to the angle of light entering the pixel.
This angle dependency is due to the focus of the micro
lens. Because the photo diode is narrower in the hori-
zontal direction the QE changes much more on that
axis. Thus a column based gain will correct this.
A Flat Field Correction circuit (FFC) applies a
gain correction to each column based on a look up
table (LUT). The FFC LUT is used to provide a gain
curve to correct for the QE drop due to (light) angle
into the micro lens pixel.
A master gain is provide for applications using
a zoom lens that has variable aperture over the zoom
range. By using the master gain the table values do
not need to change with zoom position.
To create the FFC table image a flat field at
50%, average all lines within the image, smooth the
data and create a compensation gain table to flatten
the field. Generate the FFC LUT from the table.
Serial Commands
Target
Index
Command
R/W
Description
04
40
FFC table load
W
Loads FFC table based on mode
04
41
FFC test
W
Loads entire FFC table with data.
Where 0x1000 = 1x, 0x1800 = 1.5x
04
42
FFC Master gain
R/W
Sets master gain
04
43
FFC mode
R/W
0x0000 = load from com port
0x0001 = load from com port
and save to EEPROM
0x0002 = load from EEPROM
04
44
FFC table size
R
Returns FFC table size
04
04
Mode Register
W
0x0011 = Enable FFC
0x0012 = Disable FFC
Quick FAQ’s:
►The FFC correction is in the horizontal direc-
tion only. Vertical FFC is very small compared
to the horizontal FFC.
►The FFC data is loaded exactly like the LUT
data. The maximum length of the FFC table
size is a read command. All entries must be
loaded.
►The FFC Master gain is formatted as
XXXX.YYYYYYYYYYYY
where 1.000 = 1.0x, 1.800 = 1.5x
►In FPFA revision E8 the FFC can be stored in
the camera EEPROM and can be reloaded
each time the camera is powered with a single
command.
►To save a FFC to EEPROM set the LUT
mode to 0x0001 and load a FFC from the com
port. The FFC will be saved to EEPROM and
can be reloaded from EEPROM with the FFC
mode 0x0002
►When saving a FFC to EEPROM the load
time will be longer.
►The FFC EEPROM is not initialized for you.
FFC
LUT
CNT
Video
DATA
LVAL
Start
Master
FFC
Gain
FFC
Corrected Data
Flat Field Correction Math