Novel technical and privacy-preserving technology for artificial intelligence in ophthalmology