System and method of correcting image artifacts
AssigneeQUALCOMM Incorporated
InventorsXianbiao Shu, Xiaoyun Jiang, Weihua Xiong, Weiliang Liu
Life of this patent
Estimating the term…
Abstract
Certain aspects relate to systems and techniques for correction of color artifacts including both color aberration and color spot artifacts using a unified framework. For example, both color aberration and color spot artifacts can be corrected using a post-processing method implementing directional median filtering on chroma channels. A pixel-by-pixel correction ratio map can be built by analyzing the luma and chroma components of the image to indicate a type of color artifact associated with each pixel in the image, and a directional median filter can be selected for each pixel based on the corresponding correction ratio map value.
Claims30
A method for correcting color artifacts in an image having a plurality of pixels, the method comprising:
- receiving image data of the image, the image data including a luma (Y) component value and two chroma components values for each of the plurality of pixels in the image;
- detecting at least one color artifact in the Y component values of the image data;
- generating a correction ratio map corresponding to the plurality of pixels in the image, the correction ratio map indicating the location of the at least one color artifact in the image data;
- applying a plurality of directional median filters to each chroma component to generate a plurality of median values for a subset of the chroma component values;
- for each of the subset of chroma component values, selecting one of the plurality of median values based at least partly on a corresponding correction ratio map entry;
- and
- outputting a corrected chroma value for the pixel based at least partly on the selected one of the plurality of median values.
A system for correcting for color artifacts in an image, comprising:
- a detection module configured to detect at least one color artifact in an image comprising a plurality of pixels, the detection module further configured to generate a correction ratio map having an entry for each of a plurality of pixels in the image, the entry indicating a type of color artifact associated with a corresponding pixel;
- a correction module configured calculate a corrected chroma value of the corresponding pixel based at least partly on the entry, the entry indicating a type of color artifact associated with the corresponding pixel, the correction module further configured to select one of a plurality of directional median filters based on the entry to use to calculate a corrected chroma value, the correction module further configured to select a first directional median filter if the entry indicates that the corresponding pixel is associated with a color spot artifact and to select a second directional median filter if the entry indicates that the corresponding pixel is associated with a color aberration;
- and
- a verification module configured to verify the corrected chroma value to reduce introduction of additional artifacts or de-saturation of legitimate color features in a corrected image formed from the corrected chroma value.
A method for generating a correction ratio map for correcting color artifacts in an image, the method comprising:
- receiving image data comprising the image, the image comprising a luma component and two chroma components;
- convolving the luma component with at least one symmetric kernel to generate a color artifact map;
- generating a preliminary correction ratio map based at least partly on the color artifact map, wherein the preliminary correction ratio map contains an entry corresponding to each of a plurality of pixels of the image;
- performing a gray check on at least one of the chroma components;
- and
- updating the preliminary correction ratio map based at least partly on the gray check to exclude any non-color pixels from subsequent color correction, thereby generating a final correction ratio map.
A non-transitory computer-readable medium storing instructions which, when executed, cause at least one processor to perform a method comprising:
- receiving image data of an image, the image data including a luma (Y) component value and two chroma components values for each of the plurality of pixels in the image;
- detecting at least one color artifact based on both luma and chroma component values of the image data;
- generating a correction ratio map corresponding to the plurality of pixels in the image, the correction ratio map indicating the location of the at least one color artifact in the image data;
- applying a plurality of directional median filters to each chroma component to generate a plurality of median values for a subset of the chroma component values;
- for each of the subset of chroma component values, selecting one of the plurality of median values based at least partly on a corresponding correction ratio map entry;
- and
- outputting a corrected chroma value for the pixel based at least partly on the selected one of the plurality of median values.
Dependencies are inferred from the claim text.