A new technique that could help improve diagnosis of vision disorders has been successfully tested.