Genie Nano-CL Series™ Operational Reference • 67Color Defective Pixel Replacement Algorithm DescriptionThe replacement algorithm rules for Bayer a color sensor is similar to the monochrome rules withthe exception that replacement pixels of the same color as the bad are used. The two replacementcases below describe general color pixel replacements.Single bad pixel in a sensor line with a good adjacent pixel• A defective pixel is replaced by the following good pixel if previous pixel is bad or not existent.• Or a defective pixel is replaced by the previous good pixel.Sensor Row pix1 pix2 pix3 pix5 pix6 pix7pix4pix0Bad pixel in a sensor line with bad adjacent pixels• Do nothing when the neighboring pixels are also bad.Sensor Row “n” pix1 pix2 pix3 pix5 pix7pix0 pix4 pix6RemainsDefective