1. A method for determining a dark condition in an image sensor, comprising the steps of: setting a predetermined window based on a center pixel; calculating average values for each RGB in the window; comparing each of the RGB average values with a corresponding dark condition threshold value; and determining the center pixel as a dark condition since all of the RGB average values are smaller than the dark condition threshold values.