The joke is a play on words. An optometrist is an eye doctor.  The phrase 'the bird seed' sounds like a grammatical error in trying to say 'the bird saw', as in it was able to see again.  Birds typically eat seeds commonly just referred to as 'bird seed'.
After being treated by an optometrist , the bird seed .