1. 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.