2018-01-29 The retinal image PSY 525.001 Vision Science 2018 - - PowerPoint PPT Presentation

2018 01 29 the retinal image
SMART_READER_LITE
LIVE PREVIEW

2018-01-29 The retinal image PSY 525.001 Vision Science 2018 - - PowerPoint PPT Presentation

2018-01-29 The retinal image PSY 525.001 Vision Science 2018 Spring Rick Gilmore 2018-01-29 08:08:03 1 / 79 Today's topics 2 / 79 Today's topics The retinal image 2 / 79 Today's topics The retinal image Discuss Fourier analysis,


slide-1
SLIDE 1

2018-01-29 The retinal image

PSY 525.001 • Vision Science • 2018 Spring

Rick Gilmore 2018-01-29 08:08:03

1 / 79

slide-2
SLIDE 2

Today's topics

2 / 79

slide-3
SLIDE 3

Today's topics

The retinal image

2 / 79

slide-4
SLIDE 4

Today's topics

The retinal image Discuss Fourier analysis, esp. Campbell & Robson 1968.

2 / 79

slide-5
SLIDE 5

The retinal image

3 / 79

slide-6
SLIDE 6

Human retina

http://webvision.med.utah.edu/ 4 / 79

slide-7
SLIDE 7

http://webvision.med.utah.edu/ 5 / 79

slide-8
SLIDE 8

Ganglion cell response properties dier across cells Individual response function of stimulus location, size On- and o-center cells Receptive elds have center-surround structure, due to lateral inhibition

6 / 79

slide-9
SLIDE 9

By original uploaded to en by user:delldot, modified by Xoneca - Own work, Public Domain, Link 7 / 79

slide-10
SLIDE 10

photoreceptors -> horizontal cells; photoreceptors + horizontal cells -> bipolar cells; bipolar cells -> amacrine + ganglion cells; bipolar + amacrine -> ganglion cells 8 / 79

slide-11
SLIDE 11

Retina -> Lateral Geniculate Nucleus (LGN) of thalamus

9 / 79

slide-12
SLIDE 12

10 / 79

slide-13
SLIDE 13

Parvocellular (small cell) and magnocellular (large cell) layers

11 / 79

slide-14
SLIDE 14

Magno vs. parvo LGN cells

Characteristic Parvo Magno Color sensitivity High Low Contrast sensitivity Low High Spatial resolution High Low Temporal resolution Slow Fast Receptive field size Small Large

Palmer Table 4.1.1

12 / 79

slide-15
SLIDE 15

Visual cortex

Striate cortex (stria of Gennari), V1, (Brodmann) area 17 13 / 79

slide-16
SLIDE 16

14 / 79

slide-17
SLIDE 17

Hubel and Wiesel Cat Experiment

15 / 79

slide-18
SLIDE 18

Center-surround cells rare & rarity surprising Simple cells, complex cells, & hypercomplex cells were elongated

16 / 79

slide-19
SLIDE 19

Simple cells

17 / 79

slide-20
SLIDE 20

Orientation (angular) selectivity

18 / 79

slide-21
SLIDE 21

Complex cells

Nonlinear, motion sensitive, position invariance, spatially extended

19 / 79

slide-22
SLIDE 22

Hypercomplex (end-stopped) cells

20 / 79

slide-23
SLIDE 23

Cortical magnication

21 / 79

slide-24
SLIDE 24

http://cns.bu.edu/~arash/animation.gif 22 / 79

slide-25
SLIDE 25

Retinotopy

23 / 79

slide-26
SLIDE 26

ring

Expanding ring/annulus

24 / 79

slide-27
SLIDE 27

rot_wedge_ccw

Rotating wedge

25 / 79

slide-28
SLIDE 28

26 / 79

slide-29
SLIDE 29

Retinotopic mapping

Zhuang, J., Ng, L., Williams, D., Valley, M., Li, Y., Garrett, M., & Waters, J. (2017). An extended retinotopic map of mouse cortex. eLife, 6. Retrieved from http://dx.doi.org/10.7554/eLife.18372 27 / 79

slide-30
SLIDE 30

Ocular dominance

28 / 79

slide-31
SLIDE 31

Cortical hypercolumn

29 / 79

slide-32
SLIDE 32

Aspects of the retinal-> V1 image

Topographic, but non-uniform Functionally segregated (on/o center, wavelength, eye of origin)

30 / 79

slide-33
SLIDE 33

Spatial frequency analysis

31 / 79

slide-34
SLIDE 34

But rst a bit about images as arrays of numbers

32 / 79

slide-35
SLIDE 35

pix_per_img <- 100 x <- (1:pix_per_img)/pix_per_img # Make x on (0,1] cyc_per_img <- 2 # spatial frequency f phase <- 0

  • ne_row <- sin(2*pi*cyc_per_img*x + phase)

plot(one_row)

33 / 79

slide-36
SLIDE 36

sin_array <- array(rep(one_row, pix_per_img), dim = c(pix_per_img, pix_per_img)) sin_img <- as.cimg(sin_array) # Nice image format from package imager plot(sin_img)

34 / 79

slide-37
SLIDE 37

vertical_grating <- function(pix_per_img=100, cyc_per_img=1, phase=0) x <- (1:pix_per_img)/pix_per_img

  • ne_row <- (sin(2*pi*cyc_per_img*x + phase)+1)*0.5 # Scale to [0,1]

as.cimg(array(rep(one_row, pix_per_img), dim = c(pix_per_img, pix_per_img))) }

35 / 79

slide-38
SLIDE 38

vg_100 <- vertical_grating(cyc_per_img = 5) plot(vg_100, rescale = FALSE)

36 / 79

slide-39
SLIDE 39

vg_50 <- vg_100*0.5 plot(vg_50, rescale = FALSE)

37 / 79

slide-40
SLIDE 40

vg_25 <- vg_100*.25 plot(vg_25, rescale = FALSE)

38 / 79

slide-41
SLIDE 41

Under the hood

Value at each pixel is a number (for grayscale) plot scales that to [0,255] (dark to light) [0,255] has 256 levels, , so this is '8-bit grayscale' 8-bit color has 3 numbers at each pixel, , one each for the red, green, and blue values. x, y [0, 1] 28 = 256 (r, g, b) 39 / 79

slide-42
SLIDE 42

Synthesizing images from sums of gratings

Every periodic pattern consists of an innite sum of gratings of dierent spatial frequency, amplitude, phase, and orientation

40 / 79

slide-43
SLIDE 43

grating <- function(pix_per_img=100, cyc_per_img=1, phase=0, vertical=TRUE){ x <- (1:pix_per_img)/pix_per_img

  • ne_row <- (sin(2*pi*cyc_per_img*x + phase)+1)*0.5 # Scale to [0,1]

many_rows <- array(rep(one_row, pix_per_img), dim = c(pix_per_img, pix_per_img)) if (vertical) as.cimg(many_rows) else as.cimg(t(many_rows)) # transpose (rotate 90 deg) }

41 / 79

slide-44
SLIDE 44

plot(grating(cyc_per_img = 10))

42 / 79

slide-45
SLIDE 45

plot(grating(cyc_per_img = 10, vertical=FALSE))

43 / 79

slide-46
SLIDE 46

g_vert <- grating(cyc_per_img = 10, vertical = TRUE) g_horiz <- grating(cyc_per_img = 10, vertical = FALSE) g_sum <- g_vert + g_horiz plot(g_sum)

44 / 79

slide-47
SLIDE 47

Synthesizing a square wave

f <- 2 # Cycles per image f1 <- grating(cyc_per_img = f) f3 <- grating(cyc_per_img = 3*f)*(1/3) f5 <- grating(cyc_per_img = 5*f)*(1/5) f7 <- grating(cyc_per_img = 7*f)*(1/7) f9 <- grating(cyc_per_img = 9*f)*(1/9)

45 / 79

slide-48
SLIDE 48

plot(f1)

46 / 79

slide-49
SLIDE 49

plot(f1+f3)

47 / 79

slide-50
SLIDE 50

plot(f1+f3+f5)

48 / 79

slide-51
SLIDE 51

plot(f1+f3+f5+f7)

49 / 79

slide-52
SLIDE 52

plot(f1+f3+f5+f7+f9)

50 / 79

slide-53
SLIDE 53

Why this works

plot(f1[,1,1,1], ylim = c(0,1))

51 / 79

slide-54
SLIDE 54

plot(f1[,1,1,1]+f3[,1,1,1])

52 / 79

slide-55
SLIDE 55

plot(f1[,1,1,1]+f3[,1,1,1]+f5[,1,1,1])

53 / 79

slide-56
SLIDE 56

plot(f1[,1,1,1]+f3[,1,1,1]+f5[,1,1,1]+f7[,1,1,1])

54 / 79

slide-57
SLIDE 57

That's (Fourier) synthesis

component_1 + component_2 +...+ component_n = image 55 / 79

slide-58
SLIDE 58

Synthesizer Greatest - Music Mix

56 / 79

slide-59
SLIDE 59

Fourier analysis goes in reverse

image = component_1 + component_2 +...+ component_n 57 / 79

slide-60
SLIDE 60

By Lucas V. Barbosa - Own work, Public Domain, Link 58 / 79

slide-61
SLIDE 61

Why is Fourier analysis useful and important for vision science? Why is it useful and important for other areas of psychological or neural science?

59 / 79

slide-62
SLIDE 62

Break time

60 / 79

slide-63
SLIDE 63

Discussion of Campbell, F. W., & Robson, J. G. (1968).

61 / 79

slide-64
SLIDE 64

Key terms & parameters

Contrast sensitivity vs. contrast threshold Contrast sensitivity function Sine, square, rectangular, saw tooth gratings Fourier components Luminance (in ) Spatial frequency (in ) vs. spatial period ($deg/cyc$) Temporal frequency (in ) Duty cycle Size of image (in deg) Viewing distance Fundamental frequency cd/m2 cyc/deg c/s (0, 1] 62 / 79

slide-65
SLIDE 65

Contrast sensitivity

sensitivity = 1/threshold low threshold -> high sensitivity & vice versa 63 / 79

slide-66
SLIDE 66

Spatial frequency

Rules of thumb (~$1-2^{\circ}$), vertical fist (~$5^{\circ}$), horizontal fist ($10^{\circ}$) 64 / 79

slide-67
SLIDE 67

Three vertical sine wave gratings at low, medium, and high spatial frequency 65 / 79

slide-68
SLIDE 68

Fourier components

Sine wave: where is the period, , or and is the contrast, There are many measures of contrast, see https://en.wikipedia.org/wiki/Contrast_(vision) Square wave: sin( ) 4m π 2πx X X

x cycle 1 frequency

m

Lmax−Lmin 2¯ L

[ sin(1 ) + sin(3 ) + sin(5 )+. . . ] 4m π 1 1 2πx X 1 3 2πx X 1 5 2πx X 66 / 79

slide-69
SLIDE 69

Duty cycle

67 / 79

slide-70
SLIDE 70

Questions

What psychophysical method was used? How were thresholds estimated? Why might a larger aperture yield higher sensitivity (lower threshold)? What spatial frequency yields the highest sensitivity? 68 / 79

slide-71
SLIDE 71

Evaluating Campbell & Robson (1968) claims

  • 1. The contrast thresholds of a variety of grating patterns have been

measured over a wide range of spatial frequencies.

  • 2. Contrast thresholds for the detection of gratings whose luminance profiles

are sine, square, rectangular or saw-tooth waves can be simply related using Fourier theory.

  • 3. Over a wide range of spatial frequencies the contrast threshold of a

grating is determined only by the amplitude of the fundamental Fourier component of its wave form.

  • 4. Gratings of complex wave form cannot be distinguished from sinewave

gratings until their contrast has been raised to a level at which the higher harmonic components reach their independent threshold.

  • 5. These findings can be explained by the existence within the nervous

system of linearly operating independent mechanisms selectively sensitive to limited ranges of spatial frequencies. 69 / 79

slide-72
SLIDE 72

The bigger picture

Is V1 detecting oriented lines or spatial frequency patterns? Gabor patches combine a grating and a Gaussian envelope 70 / 79

slide-73
SLIDE 73

Gabor patches as models of V1 simple cells? 71 / 79

slide-74
SLIDE 74

Real component Imaginary component with and g(x, y; λ, θ, ψ, σ, γ) = exp(− )cos(2π + ψ) x′2 + γ2y′2 2σ2 x′ λ g(x, y; λ, θ, ψ, σ, γ) = exp(− )sin(2π + ψ) x′2 + γ2y′2 2σ2 x′ λ x′ = xcos(θ) + ysin(θ) y′ = −xsin(θ) + ycos(θ) 72 / 79

slide-75
SLIDE 75

73 / 79

slide-76
SLIDE 76

Snellen Metric Snellen Imperial MAR logMAR Decimal cyc/deg 6/60 20/200 10 1.0 0.10 3 6/48 20/160 8.0 0.9 0.13 6/38 20/125 6.3 0.8 0.16 4.76 6/30 20/100 5.0 0.7 0.20 6/24 20/80 4.0 0.6 0.25 6/19 20/60 3.2 0.5 0.32 9.375 6/15 20/50 2.5 0.4 0.40 6/12 20/40 2.0 0.3 0.50 6/9 20/30 1.6 0.2 0.63 18.75 6/7.5 20/25 1.25 0.1 0.80 6/6 20/20 1.00 0.0 1.00 30 6/4.8 20/16 0.80

  • 0.1

1.25 6/3.8 20/12.5 0.63

  • 0.2

1.58 6/3.0 20/10 0.50

  • 0.3

2.00 60 http://webvision.med.utah.edu/book/part-viii-gabac-receptors/visual-acuity/ 74 / 79

slide-77
SLIDE 77

High vs. low spatial frequencies carry ≠ information 75 / 79

slide-78
SLIDE 78

76 / 79

slide-79
SLIDE 79

77 / 79

slide-80
SLIDE 80

Next time...

Depth perception

78 / 79

slide-81
SLIDE 81

Slides created via the R package xaringan. Rendered HTML and supporting files are pushed to GitHub where GitHub's 'pages' feature is used to host and serve the course website. 79 / 79