Professional Documents
Culture Documents
Class 1 2
Class 1 2
Outline
Digital Image Processing Image Generation Image Perception Image Acquisition Color Images
A bit of history
1960s: computers powerful enough + space program 1964: pictures from the Moon (JPL, Pasadena, CA) Other fields:
Remote Earth resources observation Medical Image processing: 1970s CAT / CT (Hounsfield, Cormack 1979 Nobel Prize) Aerial and satellite images Archeology Physics Machine perception: inspection, product assembly, character recognition, ...etc
B. Image generation
Electromagnetic (EM) energy spectrum Acoustic energy Ultrasonic energy Electric energy (e.g.: electron microscope)
http://www.desy.de/pr-info/desyhome/gfx/presse/fotos/hasylab/150dpi/EM-Spektrum_en.jpg
Bone scan
Astronomy
Cygnus Loop, nuclear reactors (natural radiation!)
http://www.physics.ubc.ca/~mirg/home/tutorial/pics/bone_scan.jpg http://www.doemedicalsciences.org/pubs/sc0033/images2/DOESC0033sc_10_0002.jpg
PET scan
X-ray Imaging
Medical diagnostics, astronomy Examples:
X-ray: X-ray source and film sensitive to x-ray energy; intensity depends on the absorption passing through the subject Contrast enhancement radiography
Angiography: X-ray contrast medium injected with catheter through blood vessels
Cultured epithelial cells triple stained for the nucleus (blue), microtubules (green), and actin (red). Images were acquired with a 20X objective (left) and a 100X objective (right) http://www.itg.uiuc.edu/technology/atlas/microscopy/images/100x_fluor.jpg
Band 1
Band 2
Band 3
Band 4
Band 5
Band 6
Band 7
True color image: band 1 displayed in blue, band 2 displayed in green, and band 3 displayed in red https://zulu.ssc.nasa.gov/mrsid/tutorial/Landsat%20Tutorial-V1.html
http://www.gemedicalsystems.com/rad/mri/images/med/3t/
Others...
Acoustic imaging
Geology (mineral and oil exploration), industry, medicine (obstetrics) Ultrasound images
high frequency sound pulses through body they hit tissue boundaries reflected waves picked up by probe display distances from probe to tissue / organ boundaries
http://www.alabamababy.com/images/ http://www.pregnancycheck.com/img/pregnancy-ultrasound-17-weeks.jpg
Others...
electron microscopy
Use focused beam of electrons (instead of light) to image specimens; capable of very high magnification (10 000x or more!)
Retinal image is reflected mostly in the area of the fovea Relative excitation of light receptors radiant energy into electrical pulses
Mach band
Optical illusions
http://refwd.ourmemorybox.com/images/rbCXmF7H03.jpg
E = h*
h: Plancks const.
digital images
Sensor array
Complete image can be obtained by focusing the energy pattern onto its surface
Image Formation
f : ( x, y )
2
Proportional to radiated E from physical source [0, ] Incident illumination; reflected illumination
f ( x, y ) = i ( x, y ) r ( x, y )
x [0,M-1]
pixel
Digitization: M, N, L (# discrete gray levels) L = 2^k dynamic range; ~contrast To store an image: b = MxNxk bits
Aliasing
Shannon sampling theorem
For band limited functions, if they are sampled at the rate equal or greater than twice of its highest frequency; original function can be recovered completely from its samples Under-sampled aliasing Sampling rate; number of samples taken per unit distance
To avoid aliasing: reduce its high frequency components by blurring prior to sampling
Pixel Relationships
Adjacency relationships
(0,0) y
4-adjacent 8-adjacent
Definitions
Digital path & length Connected Connected component: set of pixels.... Connected set: set with only one connected component Region Boundary Edge: local concept; graylevel discontinuity
(0,0) y
Distance functions
Distance function: D( p, q ) 0 (" = "iff p = q )
Examples
Euclidean City-block
D ( p, q ) = D ( q, p ) D ( p, z ) D ( p, q ) + D ( q, z )
( x s ) 2 + ( y t ) 2 D ( p, q ) =
D ( p, q ) = x s + y t
Chessboard
D( p, q ) = max ( x s , y t )
Sunlight beam through prism continuous spectrum of colors (violet, blue, green, yellow, orange, red) Color we see: nature of light reflected from the object
Chromatic light: EM spectrum ~400-700 m Cones are responsible for color vision: 6-7 million R(65%)G(33%)B(2%) sensitivity primary colors: RGB (adding) secondary colors: magenta, cyan, yellow Color differentiation: brightness (chromatic notion), hue (dominant wavelength), saturation (relative purity / amount of white light mixed with hue) = brightness and chromaticity
e.g.: green: reflects light with wavelengths in 500-570 m and absorbing all the rest
Color Models
Specification of colors according to some standards For digital image processing
RGB color monitors / video cameras CMY; CMYK color printing HSI closest to human perception (separate gray-scale and color info)
RGB
Useful for color generation Color cube -- Cartesian system
Corners: primary and secondary colors Grayscale: BW diagonal All values normalized in [0,1]
Pixel depth: number of bits used to represent each pixel in the RGB space
e.g.: full-color image: 24-bit RGB color image
Grayscale values
HSI
Color description; closest to human perception Hue pure color Saturation amount of dilution by white light Brightness subjective measure; ~intensity
1 ( R G ) + ( R _ B ) 1 2 = cos 1/ 2 ( R G )2 + ( R B )( G B )
1 ( R + G + B) 3
End
TP1 with Martin