Operation and FeaturesBASLER L304kc 3-49Draft3.10.3 Defective Pixel CorrectionThe sensor used in L304kc cameras may include up to three defective pixels. When each camerais manufactured, tests are performed to locate any defective pixels in the sensor lines. Thelocation of any defective pixels found is noted and permanently stored in the camera’s memory.When the defective pixel correction feature is enabled, the camera will supply a corrected valuefor each of the known defective pixels. The correction works as follows:• For pixels other than pixel 1 or pixel 4080, the corrected value for a defective pixel will be themean of the values from the two neighboring pixels.• If pixel 1 is defective, the camera will use the value from pixel 2 as the corrected value forpixel 1.• If pixel 4080 is defective, the camera will use the value from pixel 4079 as the correctedvalue for pixel 4080.Note that sensors with adjacent defective pixels are not allowed. Adjacent pixels means two pixelsnext to each other within a line, e.g., pixel 2 and pixel 3 in the blue line. It also means two pixelswith the same number in adjacent lines, e.g., pixel 4 in the green line and pixel 4 in the red line.Any sensor with adjacent defective pixels will be rejected and not used for camera production.Enabling Defective Pixel CorrectionYou can enable defective pixel correction with the Camera Configuration Tool Plus (CCT+) or byusing binary write commands from within your own application to set the camera’s control andstatus registers (CSRs).With the CCT+With the CCT+ (see Section 4.1), you use the Defective Pixel Correction Mode parameter in theImage Enhancement parameters group to enable defective pixel correction.By Setting CSRsYou enable defective pixel correction by writing a value to the Mode field of the Defective PixelCorrection Mode CSR (see page 4-33).See Section 4.2.2 for an explanation of CSRs and Section 4.3.1 for an explanation of using read/write commands.