Skip to content

Static Defect Pixel Correction on ace 2, boost R, and dart M Cameras - Additional Information#

This article contains additional information about the Static Defect Pixel Correction (SDPC) feature supported by ace 2, boost R, and dart M cameras.

  1. You can save the static defect pixel correction mode in a user set or in the camera's .pfs configuration file. The .pfs file must be loaded via the pylon Viewer. The user set can be chosen as startup set and will be loaded automatically when the camera is powered on.

  2. The defect pixel coordinates stored in the correction file are loaded and applied automatically right before the camera starts acquiring images. At that moment, the Correction Mode selector is applied and either the Factory file, the User or User incl. Factory file, or no correction file is used.

  3. It isn't possible to overwrite the default factory correction data stored on the camera in the factory correction file. However, the pylon Viewer provides the User incl. Factory correction mode. It combines factory and user correction. You can change defect pixel coordinates and apply these changes directly via the Static Defect Pixel Correction dialog.

  4. In contrast to the pylon Viewer, the pylon API doesn't offer a default option to save the User incl. Factory correction data. To save the User incl. Factory correction data via the API, use the CStaticDefectPixelCorrection class. Follow these steps with the help of the C++ Programmer's Guide:

    1. Obtain the current factory data from the camera with the GetDefectPixelList() function and select ListType_Factory to save the data into a StaticDefectPixelList_t object.
    2. Add the desired correction coordinates to the StaticDefectPixelList_t object.
    3. Use SetDefectPixelList() to save the altered StaticDefectPixelList_t object to the camera. Now, user-corrected values and the factory values are stored in the same list.
    4. To avoid double entries, use NormalizePixelList().
    5. Set the BslStaticDefectPixelCorrectionMode parameter in the camera to User and execute the BslStaticDefectPixelCorrectionReload command.

Information about the Static Defect Pixel Correction feature is located in different topics of the Basler Product Documentation, because it depends on the context of how it's used. Here is an overview of the relevant documentation topics for this feature:

Back to Knowledge Articles