1. A method comprising: determining a correlation value corresponding to a correlation coefficient between image data and at least one bad pixel cluster pattern; and detecting a bad pixel cluster corresponding to the at least one bad pixel cluster pattern based on the correlation value exceeding a threshold.