morphological operation based pupil detection