implemented defected pixels processing during image correction