Optician is an individual who makes or sells equipment for the assessment: “While preparing specs for me the optician did not match the number given by the oculist.”
Ophthalmologist is a medical doctor who specializes in the diseases, functions, and structures of the eyes: “I would like my mother to be operated upon for weak eyesight by an experienced ophthalmologist.”