摘要 |
A 9 pixel-by-9 pixel working window slides over an input Bayer image. For each such window, a demosaicing operation is performed. For each such window, corrective processing is performed relative to that window to produce relative differences for that window. For each such window for which relative differences have been produced, those relative differences are regulated. For each window, a maximum is found for that window's regulated relative differences; in one embodiment of the invention, this maximum is used to select which channel is sharp. For each window, the colors in that window are corrected based on the relative difference-based maximum found for that window. For each window, edge oversharpening is softened in order to avoid artifacts in the output image. The result is an output image in which axial chromatic aberrations have been corrected. |