Okay, so he's an ophthalmologist, and he's talking about what her potential prescription for her glasses might be.
It is easily misread as a misogynist measurement of her beauty, and he recognizes that and acknowledges it. It wasn't what he meant. Hence, the meme.