2 0 H a M e s i l a S t . , N e s h e r 3 6 8 8 5 2 0 , I s r a e l
P O B 2 5 0 0 4 , H a i f a 3 1 2 5 0 0 1 , I s r a e l
T e l : ( + 9 7 2 ) - 7 2 - 2 7 2 3 5 0 0 F a x : ( + 9 7 2 ) - 7 2 - 2 7 2 3 5 1 1
Page no. 35 | Appendix No. 1
8.9
Defect Pixel Correction
The defected pixel correction will correct up to 32 pixels in the sensor and up to 2 adjacent pixels in a row. The
pixel correction coordinates represent pixels of sensor’s visible ROI, therefore identifying the correct X and Y
coordinate should be done using default, full resolution image. The algorithm will correct the defect pixel based
on the value of existing adjacent pixels. The correction for Mono and Color sensor is slightly different and described
as follows:
The defect pixel
𝑃(𝑥, 𝑦)
value will be the average value of two pixels from both sides of pixel
𝑃(𝑥, 𝑦)
in the same
row, corresponding to the same Bayer color element.
Figure 5 – Defect pixel correction position
8.9.1
dpc <flag>
Enable deflect pixel correction.
Flag
Function
0
No correction
1 (reset)
Correction enabled
8.9.2
dpc_add_pixel <x> <y>
Adds a pixel coordinate to defect pixel table or dumps the whole table. Valid values for the x and y coordinates.
Value
Minimal
Maximal
X coordinate
0
<max_width> - 1
Y coordinate
0
<max_height> - 1
Example 1:
// Add pixel coordinate (123, 456) into defect pixel table
dpc_add_pixel 123 456
Example 2:
// Dump dead pixel table
Command: dpc_add_pixel
Response: dpc_add_pixel 100 100
dpc_add_pixel 200 200
OK