Image-quality standardization for diabetic retinopathy screening