1. A retinal abnormalities detection system, comprising: a retinal scanner constructed to obtain retinal data; a central processing unit (CPU) in communication with the retinal scanner, the CPU comprising memory-storable CPU-executable instructions for detecting retinal abnormalities; wherein the CPU performs the following in response to receiving retinal data based on the memory-storable CPU-executable instructions: a formation of a retinal image based on the retinal data; an analysis of the retinal image, wherein the analysis comprises: locating one or more edges at each level of a pyramid decomposition of the retinal image, obtaining one or more binary mask images where the one or more edges are located, calculating a final mask as a logical union of the one or more binary mask images, creating a testing mask by morphologically closing the final mask, and creating a training mask by taking a logical complement of a dilated final mask; and a detection of an abnormality based on training an anomaly detector on the training mask and applying the anomaly detector on the testing mask.