1b50 – visual system daniel j hulme. errata phylogenetic – genetic history of the species...

29
1B50 – Visual System Daniel J Hulme

Upload: elfreda-harvey

Post on 19-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

1B50 – Visual System

Daniel J Hulme

Page 2: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Errata

• Phylogenetic – genetic history of the species

• Ontogenetic – experience of the individual

• It was Kepler who first realised the true function of the retina (1604)

Page 3: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Outline

• Cognitive Vision– Why do we want computers to see?– Why can’t computers see?– Introducing percepts and concepts

• Visual System– The Eye and Brain– Early visual processes– Edge Detection

• Percepts and Concepts– Late Visual Processes– Concepts

Page 4: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Human Visual System

• The cornea and lens together focus images on the retina

• The retina is part of the central nervous system

• Fovea – 40 minutes in size – little less than 1 degree

Page 5: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Retina

• Grows out of neural ectoderm embryology, which is the same embryological substrate that the nervous system and brain grows out of

• Five types of neurons in the retina:– Photoreceptors– Bipolar cells– Ganglion cells– Horizontal cells– Amacrine

Page 6: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Radio Frequency Spectrum

419 531 559Cone Peak Responses

Page 7: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Rods and Cones (transducers)

• Two types of photoreceptors

• Rods– Extremely sensitive to light– Provide achromatic vision– Work at low level (scotopic) illumination

• Cones: – Less sensitive to light– Provide colour vision– Work at high level (photopic) illumination

Page 8: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

• Only cones in the fovea

• Extreme periphery of retina – only rods

• 126 million rods

• 4 million cones

Retina Layout

Page 9: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Converting light into electricity

γ

Phot

onR

hodo

psin

mol

ecul

ePh

oton

abs

orbe

dM

olec

ule

chan

ges

shap

e

Alte

rs fl

ow o

f

curre

nt in

mol

ecul

e El

ectri

cal c

hang

es

prop

agat

e to

syna

pse

Neu

rotra

nsm

itter

s

affe

ct th

e ne

xt

neur

on

Page 10: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Information Flow

• Each photoreceptor (rod or cone) does not feed directly to the visual cortex

• A number of photoreceptors are connected to a ganglion cell whose axon forms part of the optical nerve

• The collection of photoreceptors connected to a particular ganglion cell forms that cell’s receptive field

• A photoreceptor may be connected to more than one ganglion cell

Page 11: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Retina• photoreceptor bipolar cell ganglion cell

• 130million receptors

• 1million optic nerve fibers

• For every 3 foveal cones, there are only 2 bipolar cells, to 3 ganglion cells

• Therefore each foveal cone has its own optic nerve fiber

• Many 100s rods for each nerve fiber in the periphery

Page 12: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Receptive Fields

GanglionCell

Positive Weight

Negative Weight

output

: Rod or Cone

Page 13: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges - Setup0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 -1 -1 -1

-1 8 -1

-1 -1 -1

• Simple image

• Simple filter (kernel)

Page 14: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges - Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

-1 -1 -1

-1 8 -1

-1 -1 -1

0 0 0

0 1 1

0 1 1

0 0 0

0 8 -1

0 -1 -1

5∑

Page 15: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges - Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0

Page 16: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges - Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0

Page 17: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges – Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 -1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 -1

Page 18: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges – Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 -1 -1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 -1 -2

Page 19: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges – Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 -1 -1 -1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 -1 -2 -3

Page 20: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges – Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 -1 -2 -3 -3 -2 -1 0

0

Page 21: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges – Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 -1 1 1 1 0 0 0

0 0 0 -1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 -1 -2 -3 -3 -2 -1 0

0 -2

Page 22: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges – Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 8 -1 1 1 0 0 0

0 0 0 -1 -1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 -1 -2 -3 -3 -2 -1 0

0 -2 5

Page 23: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges – Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 -1 8 -1 1 0 0 0

0 0 0 -1 -1 -1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 -1 -2 -3 -3 -2 -1 0

0 -2 5 3

Page 24: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges – Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 1 -1 8 -1 0 0 0

0 0 0 1 -1 -1 -1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 -1 -2 -3 -3 -2 -1 0

0 -2 5 3 3

Page 25: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges – Convolutions0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 -1 -1 -1 1 0 0 0

0 0 0 -1 8 -1 1 0 0 0

0 0 0 -1 -1 -1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 -1 -2 -3 -3 -2 -1 0

0 -2 5 3 3 5 -2 0

0 -3 3 0 0 3 -3 0

0 -3 3 0 0 3 -3 0

0 -2 5 3 3 5 -2 0

0 -1 -2 -3 -3 -2 -1 0

0 0 0 0 0 0 0 0

Page 26: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Finding Edges – Convolutions

0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 0 1 1 1 1 0 0

0 0 1 0 0 1 0 0

0 0 1 0 0 1 0 0

0 0 1 1 1 1 0 0

0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 1 1 1 1 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0

Page 27: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Edge Detection Example0.0003 0.0009 0.0022 0.0038 0.0045 0.0038 0.0022 0.0009 0.0003

0.0009 0.0032 0.0071 0.0102 0.011 0.0102 0.0071 0.0032 0.0009

0.0022 0.0071 0.0114 0.0065 0.0008 0.0065 0.0114 0.0071 0.0022

0.0038 0.0102 0.0065 -0.0243 -0.0478 -0.0243 0.0065 0.0102 0.0038

0.0045 0.011 0.0008 -0.0478 -0.0829 -0.0478 0.0008 0.011 0.0045

0.0038 0.0102 0.0065 -0.0243 -0.0478 -0.0243 0.0065 0.0102 0.0038

0.0022 0.0071 0.0114 0.0065 0.0008 0.0065 0.0114 0.0071 0.0022

0.0009 0.0032 0.0071 0.0102 0.011 0.0102 0.0071 0.0032 0.0009

0.0003 0.0009 0.0022 0.0038 0.0045 0.0038 0.0022 0.0009 0.0003

im = imread('Zebra.gif') ;

% Laplacian of Gaussian filter f = fspecial('log',[9 9],1.4) ;

im2 = conv2(im,f) ;

imshow(im2) ;

Page 28: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Results

Page 29: 1B50 – Visual System Daniel J Hulme. Errata Phylogenetic – genetic history of the species Ontogenetic – experience of the individual It was Kepler who

Questions