Quantitative Analysis and Improvement of Retinal Image Quality