A retinal smear technique for varying grating contrast