72
•
Xtium2-CL MX4 Reference
Xtium2-CL MX4 User's Manual
Flat Field Correction Sets
The concept of sets allows a user to define multiple lists of FFC/FLC correction data. The FFC/FLC
API allows users to allocate and pre-program those FFC/FLC sets. When acquiring images, the
board driver will cycle through the FFC/FLC list of the selected set. During that operation, users can
upload new FFC/FLC data to non-active sets without any ill effects.
When changing the active set while grabbing, the new active set will be switched when the current
cycling of the current list is completed.
Xtium2-CL MX4 specific limitations
▪
Software driver permits the creation of up to 16 FFC/FLC sets.
▪
Software driver permits the use of up to 16 sets.
▪
When the FFC cycling mode is off, the concept of sets is not used. Whichever a FFC index is
chosen using CORACQ_PRM_FLAT_FIELD_SELECT, it will be used independently of the set it
belongs to.
▪
Upload of any FFC data is permitted at any time, even while grabbing. If an upload is done to
an FFC index of the currently select set while grabbing, then the resulting acquired image will
be undefined.
▪
When changing FFC cycling mode, the acquisition must be stopped.
Programming the sets
The following scheme is used to program FFC/FLC data within a set:
// select an active set
CorAcqSetPrm( hAcq, CORAQ_PRM_FLAT_FIELD_SET_SELECT, 0);
// Create 4 new FFC that will be part of the currently active set ‘0’
For( i = 0; i < 4; i++)
{
CorAcqNewFlatfield( hAcq, pFlatfieldNumber); // Will create FFC #1, #2, #3, #4
}
// select an active set
CorAcq SetPrm( hAcq, CORAQ_PRM_FLAT_FIELD_SET_SELECT, 1);
// Create 4 new FFC that will be part of the currently active set ‘1’
For( i = 0; i < 4; i++)
{
CorAcqNewFlatfield( hAcq, pFlatfieldNumber); // Will create FFC #5, #6, #7, #8
}