主权项 |
1. A method of correcting a defective pixel in an imaging circuit, said imaging circuit having an array comprising a plurality of pixels, said method comprising:
identifying a pixel for correction; selecting a first pair of pixels symmetrically located about the identified pixel and including a first pixel and a second pixel and a second pair of pixels symmetrically located about the identified pixel and, including a third pixel and a fourth pixel, said first pair of pixels and second pair of pixels being the nearest pixels of the same color as the identified pixel; and determining if at least one of said first, second, third and fourth pixels are defective; if said first, second, third, and fourth pixels are not defective: determining an average pixel value and a difference pixel value for said first pair of pixels and said second pair of pixels; and substituting said average pixel value of the one of said first pair of pixels and said second pair of pixels has the smallest difference pixel value for a pixel value of said identified pixel. |