How to use dark field correction by SDK

Dark field correction is used to remove the noise or defect pixels caused by temperature or long time exposure. Dark field correction is supported by SDK.

ToupTek

The above option is used to enable/disable DFC function, set the average number and get the current status of DFC.

1. Cover the camera with dark cap to get the dark field of view.

2. Set the average number by set the TOUPCAM_OPTION_DFC option.

3. Call the below function to acquire the background images.

ToupTek

4. TOUPCAM_EVENT_DFC event will happen to indicate the different internal status. Listen TOUPCAM_EVENT_DFC event and check the status with TOUPCAM_OPTION_DFC option until status is “initiated”.

5. Enable the DFC function by set the TOUPCAM_OPTION_DFC option to 1.

Kontakt