The camera supports a list of pixel coordinates to be corrected via firmware. For the list of pixel coordinates, their actual pixel values are replaced by interpolation of their neighboring pixel values. The camera has a preloaded pixel correction list and these pixels are loaded during the camera manufacturing process. It is natural that sensors come with defective pixels and they are inevitable in the semi-conductor manufacturing process. As the camera operates longer in heat or is exposed to radiation, more defective pixels may appear. Users can update the pixel correction list any time.
Steps to add a new pixel to the correction list
- Set OffsetX and OffsetY to zero. Set Width and Height to the maximum allowed value.
- Set Gain to zero and note the coordinates of any bright pixels in the image. Please ensure the camera is not exposed to light by covering it with a lens cap and placed in a dark box.
- Fire the DefectCorrectionGetNewDefect command.
- Enter the X-coordinate noted in step 2 into DefectCorrectionPositionX.
- Enter the Y-coordinate noted in step 2 into DefectCorrectionPositionY.
- Fire the DefectCorrectionApply command.
- Repeat steps 3-6 as needed and fire the DefectCorrectionSave when done.
Table below shows the maximum number of defective pixels that can be added to the correction list.
Model | List Length |
---|---|
ATL028S | 512 |
ATL050S | 128 |
ATP071S/ATL071S | 512 |
ATL089S | 128 |
ATL120S | 128 |
ATL168S | 512 |
ATL196S | 512 |
ATL314S | 512 |
The following pseudocode demonstrates adding a defective pixel to the correction list:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
// Connect to camera
// Get device node map
// Set maximum width and height
OffsetX = 0;
OffsetY = 0;
Width = Max Width;
Height = Max Height;
// Set constant ExposureTime and Gain
DefectCorrectionGetNewDefect();
DefectCorrectionPositionX = 25; // The X-coordinate of the blemish pixel
DefectCorrectionPositionY = 150; // The Y-coordinate of the blemish pixel
DefectCorrectionApply();
// Repeat the above four steps as needed. When complete:
DefectCorrectionSave();
|