Sensor Defect Correction¶
Newer camera families (xiC, xiB, xiX) support multiple Sensor Defects Lists, saving and loading them.
Older cameras (xiQ, xiD, MU9) support only single (Factory) Sensor Defect List.
Sensor Defects List¶
Sensor Defects List is a textual form of sensor defects.
It can be stored in the camera Flash File System (FFS) or passed as a string to/from the application.
The camera might contain zero, one or several Sensor Defect Lists, each stored as a separate file (e.g. Factory, User0, User1...).
Correction¶Zero, one or multiple Sensor Defects Lists can be enabled for correction in case (e.g. both Factory and User):
- If multiple lists are enabled, all defects are merged together and corrected.
|XI_SENS_DEFFECTS_CORR_LIST_SEL_FACTORY||List calibrated in camera production factory|
|XI_SENS_DEFFECTS_CORR_LIST_SEL_USER0||User list, created by user|
- Select (Factory or User0) - selects which list should be controlled by XI_PRM_SENS_DEFECTS_CORR
xiSetParamInt(handle, XI_PRM_SENS_DEFECTS_CORR_LIST_SELECTOR, XI_SENS_DEFFECTS_CORR_LIST_SEL_USER0);
- Enable correction by defects stored at selected list
xiSetParamInt(handle, XI_PRM_SENS_DEFECTS_CORR, XI_ON);
- Disable correction by defects stored at selected list
xiSetParamInt(handle, XI_PRM_SENS_DEFECTS_CORR, XI_OFF);
Here you can download xiAPI sample code, which shows how to add and delete pixels from user list.
Supported by xiC, xiB, xiX, xiT cameras.
General controls in CamTool are available when visibility level is Expert or Guru:
Defect Correction plugin is now included in CamTool in all software packages (from API version 4.17.28).
It can be opened from CamTool's menu:
Then Sensor Defect Editor allows to select defects lists or edit pixels in them: