A method and system for correcting defective pixels of a color image,
which first performs an interpolation on a Bayer image captured by an
image sensor to thus reconstruct red, green and blue (RGB) colors
corresponding to each pixel and obtain an RGB image, then converts the
RGB image from the RGB domain to a chroma domain, and finally uses
neighboring pixel values to correct a respective defective pixel. Because
a defective pixel can be distinct from the chroma domain easier than the
RGB domain, it can accurately determine whether or not a pixel to be
processed is defective.