U
SER
M
ANUAL
M
ONOCHROME
–
R
EV
J
–
05/2017
P
A G E
|
41
7.8.3
Manual Flat Field Correction
The FFC Coefficients can also be processed outside of the Camera or changed manually by accessing
directly their values in the Camera : This is the “Manual” FFC.
In CommCam, the User can access to a specific interface by clicking on “click for extended control” in both
“Manual FFC calibration” and “Manual FPN calibration sections” :
This will allow the user to upload/download out/in the Camera the FFC coefficients in/from a binary or text
file that can be processed externally.
It is recommended to setup the baud rate at the maximum value possible (230400 for
example) otherwise the transfer can take a long time.
Set FFC Address memory access :
Set the memory address for the direct access to both
PRNU/ FPN coefficients for reading or writing
.
After each read or write action, this address
in incremented of 128
Write function (ASCII):”
w ffcga <addr>
: Set the address in memory for the next
read/write command of the PRNU/FPN Coefficients.
Start address for Offsets (FPN) : 0x12400
Start address for Gains (PRNU) : 0x13400
.
<addr>
auto increments automatically after each write command.
FPN coefficients modification :
Direct access to the FPN coefficients for reading or writing
.
The FPN coefficients are read packets of x128 coefficients :
Read function (ASCII): “
r ffco
” : Read 128 consecutive FPN user coefficients starting
from address set by the command
fcca
. Returned value is in hexadecimal, without
space between values (2 Bytes per coefficient).
<addr>
auto increments automatically after each read command.
Write function (ASCII):”
w ffco <val>
: Write
128
consecutive FPN user coefficients
starting address set by the command
fcca
.
<val>
is the concatenation of individual
FPN values, without space between the values (2 Bytes per coefficient).
<addr>
auto
increments automatically after each write command.