Decision support system for diabetic retinopathy using discrete wavelet transform