| CPC H04N 25/46 (2023.01) [G06T 5/70 (2024.01); H04N 9/646 (2013.01); H04N 23/67 (2023.01); H04N 23/84 (2023.01); H04N 25/445 (2023.01); H04N 25/68 (2023.01)] | 20 Claims | 

| 
               1. An auto-focus circuit, comprising: 
            a patterned defect pixel (PDP) processing circuit configured to: 
                identify one or more focus pixels in raw image data captured by an image sensor; and 
                  process the one or more focus pixels to increase a color value of the one or more focus pixels relative to color values of other pixels in the raw image data; 
                a gain offset clamp (GOC) circuit coupled to the PDP processing circuit and configured to perform a black level compensation for a color component in the raw image data; and 
                an auto-focus engine (AFE) circuit coupled to the GOC circuit and the PDP processing circuit and configured to: 
              receive a version of the raw image data after being processed by the GOC circuit and the PDP processing circuit; and 
                  generate a focus signal for the image sensor to cause a change of a lens position for the image sensor based on the received version of the raw image data. 
                 |