U
SER
M
ANUAL
8
K
/4
K
CL
M
ONO
–
R
EV
I
–
06/2017
P
A G E
|
46
7.5.4
FFC User Bank Management
The new-processed FFC values can be saved or restored in/from 8 x User banks.
Both Gains and Offsets in the same time but also the FFC Adjust User target and associated gain.
These functions are available in the Flat Field correction/Save & Restore FFC section :
Restore FFC from Bank
(
RestoreFFCFromBank
) : Restore the FFC from a Bank in the current FFC.
Read function : “
r rffc
” : Get the current FFC Bank used
Returned by the camera : 0 for Factory bank or 1 to 8 for User banks
Write function : “
w rffc
<val>
” : Bank <val> 1 to 8 for User banks
Note : Factory means neutral FFC (no correction).
Save FFC in User Bank
(
SaveFFCToBank
) : Save current FFC in User Bank
Can not de read
Write function : “
w sffc
<val>
” : User bank <val> if from 1 to 8.
FFC User Bank Usage
At the power up :
- Last User Bank used is loaded in RAM
Reset a User bank :
- Reset the RAM (FPN/PRNU individually)
7.5.5
Command Tables
Feature
Commands
Description
FFCEnable
r ffcp
Get Flat Field Correction processing status
w ffcp 0
Disable Flat Field Correction (“False”)
w ffcp 1
Enable Flat Field Correction (“True”)
FPNReset
w rsto 0
Reset FPN coefficients
PRNUReset
w rstg 0
Reset PRNU coefficients
No direct feature
r ffco <addr>
Read 128 Fpn coefficients starting from address <addr>. Return
value is in hexadecimal, without space between values (one
unsigned short per coef).
Format: S9.1 => -256..+255.5 step 1/2
w ffco <addr>
<val>
Write 128 Fpn coefficients (straight to FPGA) starting from
address <addr>. <val> is the concatenation of individual Fpnvalue,
without space between values.
User banks
User1
User2
User3
User4
User5
User6
User7
User8
Ram Memory
Save
Load
Reset FPN
Reset PRNU