Professional Documents
Culture Documents
Image Processing - CH 02 - Imaging Fundamentals
Image Processing - CH 02 - Imaging Fundamentals
Evaluation
Tests: midterm and final Homework and small projects Final independent research project
Rods
75-150 million Not color sensitive Scotopic (low-light) vision
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware
Focal Length
Fovea
Size: approximately 1.5 mm x 1.5 mm Cone density: approximately 150,000 elements per mm2
Focal length
distance between lens center and retina Approximately 14-17 mm
By geometry, the image in the above example is 2.55 mm high on the retina
Falls primarily in the fovea
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware
Weber Ratio
Ability to discriminate between changes in light intensity
Flat field I Short duration increment I Record 50% discrimination point
Brightness discrimination is poor at low levels of illumination Rods have better discrimination
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware 8
Brightness Perception
Brightness perception is not strictly a function of intensity The visual system introduces under shoot and over shoot at boundaries
March bands
Simultaneous Contrast
Newton discovered (1666) that white light is comprised of a continuous spectrum of colors
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware 11 Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware 12
Electromagnetic Spectrum
= c /
E = hv
Image Acquisition
Radiance is the total energy that flows from a light source Luminance is the level of energy and observer perceives from a light source Fundamental limit:
To see an object the electromagnetic wavelength must be no bigger than the object To image molecules far ultraviolet or soft x-ray waves must be used
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware
15
16
17
18
f ( x, y ) = i ( x, y ) r ( x, y )
19
20
or more compactly as
a0,0 a 1,0 A= aM 1,0
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware 21 Image Processing Imaging Fundamentals
a0, N 1 a 1, N 1 aM 1, N 1
Prof. Barner, ECE Department, University of Delaware 22
23
24
25
26
Isopreference Curves
Subjective quality for detailed images depends primarily on spatial resolution Low detail images are sensitive to the number of gray levels
Resolution requirements are detail-level dependent Isopreference curves give (N,k) pairs that produce equal subjective quality
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware 27 Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware 28
Special case: periodic signals can be preserved by sampling over a finite interval
The sampling must capture an integer number of periods
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware 29
30
Bilinear Interpolation
Unknown pixels are formed as a (distance) weighted sum of the four closest known pixels
31
32
Zooming Example
Pixel Neighborhoods
Let the pixel p have coordinates (x,y) N4(p) is the 4-neighborhood of p consisting of horizontal and vertical neighbor pixels at locations ( x + 1, y ),( x 1, y ),( x, y + 1),( x, y 1) ND(p) is the diagonal neighborhood of p: ( x + 1, y + 1),( x + 1, y 1),( x 1, y + 1),( x 1, y 1) The 8-neighborhood of p is N8 ( p ) = N D ( p) N 4 ( p) Consider border affects
33
34
Adjacency
A set of gray levels, V, is used to define adjacency
Examples:
Binary, V={1} Grayscale, V={128, 129, , 255}
Adjacency Example
Let pc be the coordinates of a pixel p p and q are 4-adjacent if p,qV and qcN4(p) p and q are 8-adjacent if p,qV and qcN8(p) p and q are (mixed) m-adjacent if p,qV and
qcN4(p) or qcND(p) and N4(p)N4(q) has no pixel values from V
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware 35
The example above is binary, with V={1} A path from p to q is a sequence of coordinates where p0=p, pN=q and pi and pi-1 are adjacent The length of the path is N We can do find 4-, 8-, or m-paths depending on adjacency
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware 36
0 N pC , p1 , , pC C
Adjacency Example II
Consider the 4-, 8-, and m-paths of this figure
Binary case, V={1}
The boundary of a region R is the set of pixels in the region that have one or more neighbors outside R
Boundaries form closed paths (different concept than edge)
Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware Image Processing Imaging Fundamentals Prof. Barner, ECE Department, University of Delaware
37
38
Distance Measures
Let p, q, and z be pixels. D is a distance functions (metric) if
D(p,q)0 (D(p,q)=0 iff p=q), D(p,q)= D(q,p), and D(p,z)D(p,q)+D(q,z)
Distance examples
D4 example:
2 2 1 2 2 1 0 1 2 2 1 2 2
D8 example:
2 2 2 2 2 2 1 1 1 2 2 1 0 1 2 2 1 1 1 2 2 2 2 2 2
39
40
10