University of Ioannina - Department of Computer Science Digital Imaging Fundamentals Christophoros Nikou Digital Image Processing Images.

Slides:



Advertisements
Similar presentations
Chapter 7: Processing the Image Review structure of the eye Review structure of the retina Review receptive fields –Apply to an image on the retina –Usage.
Advertisements

Digital Image Processing
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Optics and Human Vision The physics of light
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Color Image Processing
Digital Image Processing: Digital Imaging Fundamentals.
Lecture 30: Light, color, and reflectance CS4670: Computer Vision Noah Snavely.
Digital Image Processing Chapter 2: Digital Image Fundamentals.
Digital Image Fundamentals
Ch 31 Sensation & Perception Ch. 3: Vision © Takashi Yamauchi (Dept. of Psychology, Texas A&M University) Main topics –convergence –Inhibition, lateral.
Chapter 2 Digital Image Fundamentals. Outline Elements of Visual Perception Light and the Electromagnetic Spectrum Image Sensing and Acquisition Image.
Digital Image Fundamentals Human Vision Lights and Electromagnetic spectrum Image Sensing & Acquisition Sampling & Quantization Basic Relationships b/w.
Digital Images The nature and acquisition of a digital image.
1/22/04© University of Wisconsin, CS559 Spring 2004 Last Time Course introduction Image basics.
By Joe Jodoin The Human Eye. Parts of the eye There are lots of parts of the eye so EYE will only talk about the main parts. Those parts are the cornea,
EE465: Introduction to Digital Image Processing
ECE 472/572 – Digital Image Processing Lecture 2 – Elements of Visual Perception and Image Formation 08/25/11.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2011.
Digital Image Processing Colour Image Processing.
: Office Room #:: 7
Digital Image Processing Lecture 2
Image Restoration and Reconstruction (Noise Removal)
Digital Image Processing
Computer Vision – Fundamentals of Human Vision Hanyang University Jong-Il Park.
Color in image and video Mr.Nael Aburas. outline  Color Science  Color Models in Images  Color Models in Video.
© by Yu Hen Hu 1 Human Visual System. © by Yu Hen Hu 2 Understanding HVS, Why? l Image is to be SEEN! l Perceptual Based Image Processing.
Images The Science of Images What is an Image on the computer? The Psychology of Images What do we use images for? What effect color has on our mood and.
Human Visual Perception The Human Eye Diameter: 20 mm 3 membranes enclose the eye –Cornea & sclera –Choroid –Retina.
Digital Image Fundamentals. What Makes a good image? Cameras (resolution, focus, aperture), Distance from object (field of view), Illumination (intensity.
Ch 31 Sensation & Perception Ch. 3: Vision © Takashi Yamauchi (Dept. of Psychology, Texas A&M University) Main topics –convergence –Inhibition, lateral.
Digital Image Processing & Analysis Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
CIS 601 Image Fundamentals Longin Jan Latecki Slides by Dr. Rolf Lakaemper.
Dr. Engr. Sami ur Rahman Digital Image Processing Lecture 2: Visual System.
Chapter Teacher: Remah W. Al-Khatib. This lecture will cover:  The human visual system  Light and the electromagnetic spectrum  Image representation.
Course Website: Digital Image Processing: Digital Imaging Fundamentals P.M.Dholakia Brian.
Digital Image Processing Part 1 Introduction. The eye.
Medical Image Processing & Neural Networks Laboratory 1 Medical Image Processing Chapter 2 Digital Image Fundamentals 國立雲林科技大學 資訊工程研究所 張傳育 (Chuan-Yu Chang.
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Image Acquisition.
Intensity Transformations (Histogram Processing)
Elements of Visual Perception
University of Kurdistan Digital Image Processing (DIP) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Image Perception ‘Let there be light! ‘. “Let there be light”
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Digital Image Processing
Human Visual System.
© 2011 South-Western | Cengage Learning A Discovery Experience PSYCHOLOGY Chapter 4Slide 1 LESSON 4.2 Vision OBJECTIVES Identify and illustrate the structures.
Dr. Engr. Sami ur Rahman Digital Image Processing Lecture 3: Image Formation.
DIGITAL IMAGE PROCESSING: DIGITAL IMAGING FUNDAMENTALS.
Image Perception ‘Let there be light! ‘. “Let there be light”
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2014.
Color Image Processing
Color Image Processing
EE663-Digital Image Processing & Analysis Dr. Samir H
Digital Image Processing (DIP)
Color Image Processing
Prodi Teknik Informatika , Fakultas Imu Komputer
CIS 601 Image Fundamentals
Visual Perception, Image Formation, Math Concepts
UNIT 3 ~ PHYSICS Lesson P6 Part 1 ~ Human Vision
CIS 595 Image Fundamentals
Digital Image Fundamentals
UNIT 3 ~ PHYSICS Lesson P6 Part 1 ~ Human Vision
Digital Image Fundamentals
Digital Image Fundamentals
Dr. Nikos Desypris, Oct Lecture 2
Experiencing the World
Course No.: EE 6604 Course Title: Advanced Digital Image Processing
Presentation transcript:

University of Ioannina - Department of Computer Science Digital Imaging Fundamentals Christophoros Nikou Digital Image Processing Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, Digital Image Processing course by Brian Mac Namee, Dublin Institute of Technology.

2 C. Nikou – Digital Image Processing (E12) Digital Image Fundamentals “Those who wish to succeed must ask the right preliminary questions” Aristotle

3 C. Nikou – Digital Image Processing (E12) Contents This lecture will cover: –The human visual system –Light and the electromagnetic spectrum –Image representation –Image sensing and acquisition –Sampling, quantisation and resolution

4 C. Nikou – Digital Image Processing (E12) Human Visual System The best vision model we have! Knowledge of how images form in the eye can help us with processing digital images We will take just a whirlwind tour of the human visual system

5 C. Nikou – Digital Image Processing (E12) Structure Of The Human Eye The lens focuses light from objects onto the retina The retina is covered with light receptors called cones (6-7 million) and rods ( million) Cones are concentrated around the fovea and are very sensitive to colour Rods are more spread out and are sensitive to low levels of illumination Images taken from Gonzalez & Woods, Digital Image Processing (2002)

6 C. Nikou – Digital Image Processing (E12) Blind-Spot Experiment Draw an image similar to that below on a piece of paper (the dot and cross are about 6 inches apart) Close your right eye and focus on the cross with your left eye Hold the image about 20 inches away from your face and move it slowly towards you The dot should disappear!

7 C. Nikou – Digital Image Processing (E12) Image Formation In The Eye Muscles within the eye can be used to change the shape of the lens allowing us focus on objects that are near or far away An image is focused onto the retina causing rods and cones to become excited which ultimately send signals to the brain

8 C. Nikou – Digital Image Processing (E12) Brightness Adaptation & Discrimination The human visual system can perceive approximately different light intensity levels. However, at any one time we can only discriminate between a much smaller number – brightness adaptation. Similarly, the perceived intensity of a region is related to the light intensities of the regions surrounding it.

9 C. Nikou – Digital Image Processing (E12) Brightness Adaptation & Discrimination (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002) Weber ratio

10 C. Nikou – Digital Image Processing (E12) Brightness Adaptation & Discrimination (cont…) An example of Mach bands Images taken from Gonzalez & Woods, Digital Image Processing (2002)

11 C. Nikou – Digital Image Processing (E12) Brightness Adaptation & Discrimination (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002)

12 C. Nikou – Digital Image Processing (E12) Brightness Adaptation & Discrimination (cont…) An example of simultaneous contrast Images taken from Gonzalez & Woods, Digital Image Processing (2002)

13 C. Nikou – Digital Image Processing (E12) Optical Illusions Our visual systems play lots of interesting tricks on us

14 C. Nikou – Digital Image Processing (E12) Optical Illusions (cont…)

15 C. Nikou – Digital Image Processing (E12) Optical Illusions (cont…) Stare at the cross in the middle of the image and think circles

16 C. Nikou – Digital Image Processing (E12) Light And The Electromagnetic Spectrum Light is just a particular part of the electromagnetic spectrum that can be sensed by the human eye The electromagnetic spectrum is split up according to the wavelengths of different forms of energy

17 C. Nikou – Digital Image Processing (E12) Reflected Light The colours that we perceive are determined by the nature of the light reflected from an object For example, if white light is shone onto a green object most wavelengths are absorbed, while green light is reflected from the object White Light Colours Absorbed Green Light

18 C. Nikou – Digital Image Processing (E12) Sampling, Quantisation And Resolution In the following slides we will consider what is involved in capturing a digital image of a real-world scene –Image sensing and representation –Sampling and quantisation –Resolution

19 C. Nikou – Digital Image Processing (E12) Image Representation col row f (row, col) Before we discuss image acquisition recall that a digital image is composed of M rows and N columns of pixels each storing a value Pixel values are most often grey levels in the range 0-255(black-white) We will see later on that images can easily be represented as matrices Images taken from Gonzalez & Woods, Digital Image Processing (2002)

20 C. Nikou – Digital Image Processing (E12) Colour images Images taken from Gonzalez & Woods, Digital Image Processing (2002)

21 C. Nikou – Digital Image Processing (E12) Colour images Images taken from Gonzalez & Woods, Digital Image Processing (2002)

22 C. Nikou – Digital Image Processing (E12) Image Acquisition Images are typically generated by illuminating a scene and absorbing the energy reflected by the objects in that scene –Typical notions of illumination and scene can be way off: X-rays of a skeleton Ultrasound of an unborn baby Electro-microscopic images of molecules Images taken from Gonzalez & Woods, Digital Image Processing (2002)

23 C. Nikou – Digital Image Processing (E12) Image Sensing Incoming energy lands on a sensor material responsive to that type of energy and this generates a voltage Collections of sensors are arranged to capture images Imaging Sensor Line of Image Sensors Array of Image Sensors Images taken from Gonzalez & Woods, Digital Image Processing (2002)

24 C. Nikou – Digital Image Processing (E12) Image Sensing Images taken from Gonzalez & Woods, Digital Image Processing (2002) Using Sensor Strips and Rings

25 C. Nikou – Digital Image Processing (E12) Image Sampling And Quantisation A digital sensor can only measure a limited number of samples at a discrete set of energy levels Quantisation is the process of converting a continuous analogue signal into a digital representation of this signal Images taken from Gonzalez & Woods, Digital Image Processing (2002)

26 C. Nikou – Digital Image Processing (E12) Image Sampling And Quantisation Images taken from Gonzalez & Woods, Digital Image Processing (2002)

27 C. Nikou – Digital Image Processing (E12) Image Sampling And Quantisation Images taken from Gonzalez & Woods, Digital Image Processing (2002)

28 C. Nikou – Digital Image Processing (E12) Image Sampling And Quantisation (cont…) Remember that a digital image is always only an approximation of a real world scene Images taken from Gonzalez & Woods, Digital Image Processing (2002)

29 C. Nikou – Digital Image Processing (E12) Image Representation Images taken from Gonzalez & Woods, Digital Image Processing (2002)

30 C. Nikou – Digital Image Processing (E12) Image Representation Images taken from Gonzalez & Woods, Digital Image Processing (2002)

31 C. Nikou – Digital Image Processing (E12) Image Representation Images taken from Gonzalez & Woods, Digital Image Processing (2002)

32 C. Nikou – Digital Image Processing (E12) Image Representation Images taken from Gonzalez & Woods, Digital Image Processing (2002)

33 C. Nikou – Digital Image Processing (E12) Spatial Resolution The spatial resolution of an image is determined by how sampling was carried out Spatial resolution simply refers to the smallest discernable detail in an image –Vision specialists will often talk about pixel size –Graphic designers will talk about dots per inch (DPI) 5.1 Megapix els

34 C. Nikou – Digital Image Processing (E12) Spatial Resolution (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002)

35 C. Nikou – Digital Image Processing (E12) Spatial Resolution (cont…) 1024 * * * * * 6432 * 32 Images taken from Gonzalez & Woods, Digital Image Processing (2002)

36 C. Nikou – Digital Image Processing (E12) Spatial Resolution (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002)

37 C. Nikou – Digital Image Processing (E12) Intensity Level Resolution Intensity level resolution refers to the number of intensity levels used to represent the image –The more intensity levels used, the finer the level of detail discernable in an image –Intensity level resolution is usually given in terms of the number of bits used to store each intensity level Number of Bits Number of Intensity Levels Examples 120, , 01, 10, , 0101, , ,

38 C. Nikou – Digital Image Processing (E12) Intensity Level Resolution (cont…) 128 grey levels (7 bpp) 64 grey levels (6 bpp)32 grey levels (5 bpp) 16 grey levels (4 bpp)8 grey levels (3 bpp) 4 grey levels (2 bpp)2 grey levels (1 bpp) 256 grey levels (8 bits per pixel) Images taken from Gonzalez & Woods, Digital Image Processing (2002)

39 C. Nikou – Digital Image Processing (E12) Saturation & Noise Images taken from Gonzalez & Woods, Digital Image Processing (2002)

40 C. Nikou – Digital Image Processing (E12) Resolution: How Much Is Enough? The big question with resolution is always how much is enough? –This all depends on what is in the image and what you would like to do with it –Key questions include Does the image look aesthetically pleasing? Can you see what you need to see within the image?

41 C. Nikou – Digital Image Processing (E12) Resolution: How Much Is Enough? (cont…) The picture on the right is fine for counting the number of cars, but not for reading the number plate

42 C. Nikou – Digital Image Processing (E12) Intensity Level Resolution (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002) Low DetailMedium DetailHigh Detail

43 C. Nikou – Digital Image Processing (E12) Intensity Level Resolution (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002)

44 C. Nikou – Digital Image Processing (E12) Intensity Level Resolution (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002)

45 C. Nikou – Digital Image Processing (E12) Intensity Level Resolution (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002)

46 C. Nikou – Digital Image Processing (E12) Intensity Level Resolution (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002) Isopreference curves. Represent the dependence between intensity and spatial resolutions. Points lying on a curve represent images of “equal” quality as described by observers. They become more vertical as the degree of detail increases (a lot of detail need less intensity levels), e.g. in the Crowd image, for a given value of N, k is almost constant.

47 C. Nikou – Digital Image Processing (E12) Interpolation (cont...) Images taken from Gonzalez & Woods, Digital Image Processing (2002)

48 C. Nikou – Digital Image Processing (E12) Interpolation (cont...) Images taken from Gonzalez & Woods, Digital Image Processing (2002)

49 C. Nikou – Digital Image Processing (E12) Distances between pixels Images taken from Gonzalez & Woods, Digital Image Processing (2002) For pixels p(x,y), q(s,t) and z(v,w), D is a distance function or metric if: The Euclidean distance between p and q is defined as:

50 C. Nikou – Digital Image Processing (E12) Distances between pixels Images taken from Gonzalez & Woods, Digital Image Processing (2002) The city-block or D 4 distance between p and q is defined as: Pixels having the city-block distance from a pixel (x,y) less than or equal to some value T form a diamond centered at (x,y). For example, for T=2:

51 C. Nikou – Digital Image Processing (E12) Distances between pixels Images taken from Gonzalez & Woods, Digital Image Processing (2002) The chessboard or D 8 distance between p and q is defined as: Pixels having the city-block distance from a pixel (x,y) less than or equal to some value T form a square centered at (x,y). For example, for T=2:

52 C. Nikou – Digital Image Processing (E12) Summary We have looked at: –Human visual system –Light and the electromagnetic spectrum –Image representation –Image sensing and acquisition –Sampling, quantisation and resolution –Interpolation Next time we start to look at techniques for image enhancement