290 likes | 526 Views
Digital Image Fundamentals. Human Vision Lights and Electromagnetic spectrum Image Sensing & Acquisition Sampling & Quantization Basic Relationships b/w Pixels. Important dates 9/29: Project grouping (2~3 members/group) 10/6: First image processing GUI due!! OpenCV ImageMagick ImageJ
E N D
Digital Image Fundamentals Human Vision Lights and Electromagnetic spectrum Image Sensing & Acquisition Sampling & Quantization Basic Relationships b/w Pixels
Important dates • 9/29: Project grouping (2~3 members/group) • 10/6: First image processing GUI due!! • OpenCV • ImageMagick • ImageJ • Ximage or ImageX Digital Image Processing
A Cross Section of the Human Eye • Iris – 虹膜 • Lens – 水晶體 • Cornea – 角膜 • Sclera – 鞏膜 • Choroid – 脈絡膜 • Retina – 視網膜 • Fovea – 視乳頭 • Ciliary body – 睫狀體 Digital Image Processing
Human Vision • Rods: 108 • Shape/form perception • Large dynamic range • Limited contrast • Scotopic (dim-light) vision • Cones 5 X 106 • 3-channel color perception • Photopic (bright-light) vision Digital Image Processing
Distribution of Rods and Cones in the Retina Digital Image Processing
Image Formation in the Eye Digital Image Processing
Range of Subjective Brightness • Visual system cannot operate over full range of subjective brightness simultaneous • Via brightness adaptation Digital Image Processing
Brightness Discrimination • ∆Ic – increment of illumination discriminable 50% of the time I • Small ∆Ic/I => good discrimination; otherwise, poor. Weber ratio / intensity Digital Image Processing
Perceived Brightness • Two phenomena • Undershoot or overshoot around the boundaries; Mach band pattern • Simultaneous contrast Digital Image Processing
Optical Illusions Digital Image Processing
Electromagnetic Spectrum Digital Image Processing
Image Sensing • Single sensor • Sensor strip • Sensor array Digital Image Processing
A Simple Image Model • i(x,y)– illumination (from light source) • r(x,y)– reflectance of illuminated surface (reflectivity) • Lambertian surface • Looks the same in all directions • Specular (mirror-like) surface • Incidence angle = reflectance angle Digital Image Processing
A Simple Image Model (continued) • f(x,y) = i(x,y) X r(x,y) >= 0 • r(x,y) • 0.93 white snow • 0.01 black velvet • i(x,y) • 9000 foot-candle Sun • 0.01 foot-candle full moon Digital Image Processing
Sampling & Quantization Digital Image Processing
A Digital Image of MXN Array Digital Image Processing
A Digital Image (continued) • Image Sampling – Spatial-coordinate digitization • Gray-level Quantization – amplitude digitization • N = size of image = (number of columns) X (number of rows) • G (number of gray levels) = 2k • Disk storage needed = N * ceiling(k/8) Digital Image Processing
Storage Bits for N and k Digital Image Processing
Spatial Resolution Digital Image Processing
Amplitude Quantization Digital Image Processing
Level of Detail (LOD) Low level of detail High level of detail Digital Image Processing
Isopreference Digital Image Processing
Scaling and Interpolation Digital Image Processing
Basic Image Topology • Neighbors of a Pixel • 4-neighbor and 8-neighbor • 4-adjacent and 8-adjacent • Connectivity • 4-connectivity • 8-connectivity • M-connectivity (mixed connectivity) Digital Image Processing
M-Connectivity Digital Image Processing
Further Pixel Relationships • Connected Component Labeling • Relations, Equivalence, and Transitive Closure • Distance Measures • Arithmetic/Logic Operations • Mask Operations Digital Image Processing
Logic Mask Operations Digital Image Processing
Weighted Mask Operation Digital Image Processing
Utilizing ALU Parallel Processing Digital Image Processing