The invention discloses an automatic detection method of
diabetic retinopathy. According to the method, firstly, medical ocular fundus images are preprocessed to generate feature vectors correspondingto all the ocular fundus images; then a clustering
algorithm is applied to carry out clustering on all the ocular fundus images on the basis of the feature vectors corresponding to the ocular fundusimages, and the same are defined as ocular fundus images of different patterns; then reference feature space is established on the basis of the feature vectors, which correspond to the ocular fundus images of different
lesion periods and the different patterns, to obtain feature codes thereof in the reference feature space; and finally, automatic detection on the
diabetic retinopathy is realized through calculating
cosine similarity between feature codes of a to-be-detected ocular
fundus image and the ocular fundus images with labels. According to the method, the image clustering
algorithm iscombined to establish the reference feature space of the
retinal ocular fundus images of the different
lesion periods and the different patterns and
feature code mapping thereof on the basis of the
retinal ocular fundus images and the labels which can be crawled on a network, and accuracy and timeliness of automatic detection of the
diabetic retinopathy are effectively improved.