Automated detection of proliferative diabetic retinopathy using brownian motion features