Q

How to use SDK dark field correction.

A

Dark field correction is used to eliminate noise or defective pixels caused by temperature or long exposure. SDK supports dark field correction.

How to use SDK dark field correction

The above options are used to enable/disable DFC function, set average quantity and get current status of DFC.

1. Cover the camera with a dark cover to obtain a dark field of view.

2. Set average number by setting TOUPCAM_OPTION_DFC option.

3. Call the following function to obtain background image.

How to use SDK dark field correction

4. TOUPCAM_EVENT_DFC event will occur to indicate different internal states. Listen to TOUPCAM_EVENT_DFC event and check status using TOUPCAM_OPTION_DFC option until status is 'Started'.

Enable DFC function by setting TOUPCAM_OPTION_DFC option to 1


Have Other Questions?

If your questions remain unanswered, please feel free to contact our technical support team at any time.