Automated Detection of Exudates in Retinal Images