Retinal Image Analysis and its use in Medical Applications