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.
-
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.
-
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.
-
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.
-
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:- Obtain the current factory data from the camera with the
GetDefectPixelList()
function and selectListType_Factory
to save the data into aStaticDefectPixelList_t
object. - Add the desired correction coordinates to the
StaticDefectPixelList_t
object. - Use
SetDefectPixelList()
to save the alteredStaticDefectPixelList_t
object to the camera. Now, user-corrected values and the factory values are stored in the same list. - To avoid double entries, use
NormalizePixelList()
. - Set the
BslStaticDefectPixelCorrectionMode
parameter in the camera toUser
and execute theBslStaticDefectPixelCorrectionReload
command.
- Obtain the current factory data from the camera with the
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:
- Using the feature on ace 2, boost R, and dart M cameras: Defect Pixel Correction
- Using the feature via the pylon Viewer GUI to add user correction data: Static Defect Pixel Correction (pylon Viewer)
- Using the feature via the pylon API: Static Defect Pixel Correction