Flat field correction (FFC) is used to correct the inhomogeneous background caused by optical system or illumination. When condition is changed, including optical system, illumination, exposure time or gain, FFC must be performed again in new condition. Flat field correction (FFC) could be supported by SDK.
The above option is used to enable/disable FFC function, set the average number and get the current status of FFC.
1. Remove the samples or objects from the field of view to get the background.
2. Set the average number by set the TOUPCAM_OPTION_FFC option.
3. Call the below function to acquire the background images.
4. TOUPCAM_EVENT_FFC event will happen to indicate the different internal status. Listen TOUPCAM_EVENT_FFC event and check the status with TOUPCAM_OPTION_FFC option until status is “initiated”.
5. When the status is “initiated”, enable the FFC function by setting the TOUPCAM_OPTION_FFC option to 1.
Contact