Support Support Home » APIs » XiAPI » XiApi Manual » Sensor Defect Correction

Sensor Defect Correction

Newer camera families (xiC, xiB, xiX, xiT) 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 string to/from application. Camera might contain zero, one or several Sensor Defect Lists, each stored as separate file (e.g. Factory, User0, User1...).

Correction

Zero, one or multiple Sensor Defects Lists might be enabled for correction at the time (e.g. both Factory and User).
  • If multiple lists are enabled, all defects are merged together and corrected.

xiAPI

Value Mode
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);
    

CamTool

Controls in CamTool are available when visibility level is Expert or Guru: