A Novel Approach to Diagnose Diabetic Retinopathy