Patent attributes
One example configuration as discussed herein includes a multi-stage image processing system. A first stage image processor in the multi-stage image processing system analyzes a first window of settings produced by an array of sensor elements in an image sensor. The first stage image processor scales one or more color ranges to detect defective sensor elements and produces corrective values on an as-needed basis. A second stage image-processing resource processes a second window of settings including original settings and/or substitute settings as produced by the first stage image processor. The second stage image processor applies a debayering algorithm to the second window of values to produce final display settings for the sensor elements.