Automatic classification of diabetic macular edema in digital fundus images