Digital Image Processing COSC 6380/4393

Similar documents
Digital Image Processing COSC 6380/4393

Digital Image Processing COSC 6380/4393

Vision. The eye. Image formation. Eye defects & corrective lenses. Visual acuity. Colour vision. Lecture 3.5

The Special Senses: Vision

Digital Image Processing

CSE 527: Introduction to Computer Vision

Projection. Announcements. Müller-Lyer Illusion. Image formation. Readings Nalwa 2.1

OPTICAL SYSTEMS OBJECTIVES

The Human Visual System. Lecture 1. The Human Visual System. The Human Eye. The Human Retina. cones. rods. horizontal. bipolar. amacrine.

PHYSICS. Chapter 35 Lecture FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH 4/E RANDALL D. KNIGHT

Projection. Readings. Szeliski 2.1. Wednesday, October 23, 13

Overview. Pinhole camera model Projective geometry Vanishing points and lines Projection matrix Cameras with Lenses Color Digital image

Reading. 1. Visual perception. Outline. Forming an image. Optional: Glassner, Principles of Digital Image Synthesis, sections

Cameras. CSE 455, Winter 2010 January 25, 2010

Introduction. Strand F Unit 3: Optics. Learning Objectives. Introduction. At the end of this unit you should be able to;

Chapter 23 Study Questions Name: Class:

Vision and Color. Reading. Optics, cont d. Lenses. d d f. Brian Curless CSE 557 Autumn Good resources:

Vision and Color. Brian Curless CSE 557 Autumn 2015

Projection. Projection. Image formation. Müller-Lyer Illusion. Readings. Readings. Let s design a camera. Szeliski 2.1. Szeliski 2.

Vision 1. Physical Properties of Light. Overview of Topics. Light, Optics, & The Eye Chaudhuri, Chapter 8

Science 8 Unit 2 Pack:

Vision and Color. Reading. Optics, cont d. Lenses. d d f. Brian Curless CSEP 557 Fall Good resources:

Vision and Color. Brian Curless CSEP 557 Fall 2016

Early Visual Processing: Receptive Fields & Retinal Processing (Chapter 2, part 2)

Name: Date: Block: Light Unit Study Guide Matching Match the correct definition to each term. 1. Waves

Getting light to imager. Capturing Images. Depth and Distance. Ideal Imaging. CS559 Lecture 2 Lights, Cameras, Eyes

Digital Image Processing

Visual Effects of Light. Prof. Grega Bizjak, PhD Laboratory of Lighting and Photometry Faculty of Electrical Engineering University of Ljubljana

Lecture 9. Lecture 9. t (min)

Chapter 36. Image Formation

SCIENCE 8 WORKBOOK Chapter 6 Human Vision Ms. Jamieson 2018 This workbook belongs to:

Instructional Resources/Materials: Light vocabulary cards printed (class set) Enough for each student (See card sort below)

How do we see the world?

SCIENCE 8 WORKBOOK Chapter 6 Human Vision Ms. Jamieson 2018 This workbook belongs to:

Exam 3--PHYS 151--S15

Chapter 2: Digital Image Fundamentals. Digital image processing is based on. Mathematical and probabilistic models Human intuition and analysis

Visual Effects of. Light. Warmth. Light is life. Sun as a deity (god) If sun would turn off the life on earth would extinct

Introduction to Visual Perception & the EM Spectrum

Review. Introduction to Visual Perception & the EM Spectrum. Overview (1):

Chapter 25. Optical Instruments

Image Formation and Capture

Further reading. 1. Visual perception. Restricting the light. Forming an image. Angel, section 1.4

CS6670: Computer Vision

The Camera : Computational Photography Alexei Efros, CMU, Fall 2008

VC 11/12 T2 Image Formation

Lecture 8. Human Information Processing (1) CENG 412-Human Factors in Engineering May

Chapter 36. Image Formation

Vision and Color. Reading. The lensmaker s formula. Lenses. Brian Curless CSEP 557 Autumn Good resources:

Refraction, Lenses, and Prisms

Life Science Chapter 2 Study Guide

III: Vision. Objectives:

Lenses- Worksheet. (Use a ray box to answer questions 3 to 7)

Image Processing - Intro. Tamás Szirányi

DIGITAL IMAGE PROCESSING LECTURE # 4 DIGITAL IMAGE FUNDAMENTALS-I

The eye & corrective lenses

Yokohama City University lecture INTRODUCTION TO HUMAN VISION Presentation notes 7/10/14

The Human Eye and a Camera 12.1

2 The First Steps in Vision

comp 471 / cart 498c computer graphics: real-time video Monday 11 Sep 06

Lecture 2 Digital Image Fundamentals. Lin ZHANG, PhD School of Software Engineering Tongji University Fall 2016

Two strategies for realistic rendering capture real world data synthesize from bottom up

Section 1: Sound. Sound and Light Section 1

LIGHT AND LIGHTING FUNDAMENTALS. Prepared by Engr. John Paul Timola

used to diagnose and treat medical conditions. State the precautions necessary when X ray machines and CT scanners are used.

Mastery. Chapter Content. What is light? CHAPTER 11 LESSON 1 C A

Human Retina. Sharp Spot: Fovea Blind Spot: Optic Nerve

Reading. Lenses, cont d. Lenses. Vision and color. d d f. Good resources: Glassner, Principles of Digital Image Synthesis, pp

INTRODUCTION THIN LENSES. Introduction. given by the paraxial refraction equation derived last lecture: Thin lenses (19.1) = 1. Double-lens systems

Lecture Outline Chapter 27. Physics, 4 th Edition James S. Walker. Copyright 2010 Pearson Education, Inc.

VC 16/17 TP2 Image Formation

IMAGE FORMATION. Light source properties. Sensor characteristics Surface. Surface reflectance properties. Optics

Lecture 8. Lecture 8. r 1

Physical Science Physics

Retinal stray light originating from intraocular lenses and its effect on visual performance van der Mooren, Marie Huibert

The Camera : Computational Photography Alexei Efros, CMU, Fall 2005

Seeing and Perception. External features of the Eye

Optics B. Science Olympiad North Regional Tournament at the University of Florida DO NOT WRITE ON THIS BOOKLET. THIS IS AN TEST SET.

Image Formation. Light from distant things. Geometrical optics. Pinhole camera. Chapter 36

Optics Review (Chapters 11, 12, 13)

Sensory receptors External internal stimulus change detectable energy transduce action potential different strengths different frequencies

Human Visual System. Prof. George Wolberg Dept. of Computer Science City College of New York

LENSES. INEL 6088 Computer Vision

CS559: Computer Graphics. Lecture 2: Image Formation in Eyes and Cameras Li Zhang Spring 2008

Visual Perception. Readings and References. Forming an image. Pinhole camera. Readings. Other References. CSE 457, Autumn 2004 Computer Graphics

This question addresses OPTICAL factors in image formation, not issues involving retinal or other brain structures.

VC 14/15 TP2 Image Formation

CPSC 425: Computer Vision

Visual Perception of Images

Visual Optics. Visual Optics - Introduction

EYE. The eye is an extension of the brain

Slide 4 Now we have the same components that we find in our eye. The analogy is made clear in this slide. Slide 5 Important structures in the eye

Refraction of Light. Refraction of Light

[ Summary. 3i = 1* 6i = 4J;

PHGY Physiology. The Process of Vision. SENSORY PHYSIOLOGY Vision. Martin Paré. Visible Light. Ocular Anatomy. Ocular Anatomy.

PHGY Physiology. SENSORY PHYSIOLOGY Vision. Martin Paré

VISUAL PHYSICS ONLINE DEPTH STUDY: ELECTRON MICROSCOPES

Vision. By: Karen, Jaqui, and Jen

Light. Path of Light. Looking at things. Depth and Distance. Getting light to imager. CS559 Lecture 2 Lights, Cameras, Eyes

Introduction. The Human Eye. Physics 1CL OPTICAL INSTRUMENTS AND THE EYE SPRING 2010

10/8/ dpt. n 21 = n n' r D = The electromagnetic spectrum. A few words about light. BÓDIS Emőke 02 October Optical Imaging in the Eye

Transcription:

Digital Image Processing COSC 6380/4393 Lecture 2 Aug 23 rd, 2018 Slides from Dr. Shishir K Shah, Rajesh Rao and Frank (Qingzhong) Liu 1

Instructor Digital Image Processing COSC 6380/4393 Pranav Mantini Email: pmantini@uh.edu Office: PGH 550E Office Hours: TTh 2-3PM TA - Office: TBA (Temporary: PGH 550E) Shikha Tripathi shikhatripathi005 @gmail.com MW 1-2 PM Poonam Beniwal pbeniwal@uh.edu MW 3 4 PM qil.uh.edu/dip Zhenggang Li zli36@uh.edu MW 2 3 PM 2

Review: Pre-Introduction Example: Measure depth of the water in meters at a certain pier Yet another representation 3

Review: Pre-Introduction Example: Measure depth of the water in meters at a certain pier Yet another representation Image as a mode/format to convey information usually for human consumption 4

WHAT ARE DIGITAL IMAGES? Images are as variable as the types of radiation that exist and the ways in which radiation interacts with matter: 5

GENERAL IMAGE TYPES We can distinguish between three types of imaging, which create different types of image information: Reflection Imaging Image information is surface information; how an object reflects/absorbs incident radiation - Optical (visual, photographic, laser-based) - Radar - Sonar, ultrasound (non-em) - Electron microscopy Emission Imaging Image information is internal information; how an object creates radiation - Thermal, infrared (FLIR) (geophysical, medical, military) - Astronomy (stars, nebulae, etc.) - Nuclear (particle emission, e.g., MRI) Absorption Imaging Image information is internal information; how an object modifies/absorbs radiation passing through it - X-Rays in many applications - Optical microscopy in laboratory applications - Tomography (CAT, PET) in medicine - Vibro-Seis in geophysical prospecting 6

Image formation Let s design a method to capture reflection Idea 1: put a piece of film in front of an object Do we get a reasonable image? Light Source 7

Image formation Let s design a method to capture reflection Idea 1: put a piece of film in front of an object Do we get a reasonable image? 8

Pinhole camera Add a barrier to block off most of the rays This reduces blurring The opening is known as the aperture How does this transform the image? 9

Camera Obscura The first camera Known to Aristotle Analyzed by Ibnal-Haytham(Alhazen, 965-1039 AD) in Iraq 10

Shrinking the aperture 11

Shrinking the aperture Why not make the aperture as small as possible? 12

Shrinking the aperture 13

Shrinking the aperture Less light gets through Diffraction effects... 14

Pinhole camera Add a barrier to block off most of the rays This reduces blurring The opening is known as the aperture How does this transform the image? 15

Lenses 16

Lenses A lens focuses parallel rays onto a single focal point focal point at a distance f beyond the plane of the lens f is a function of the shape and index of refraction of the lens Aperture of diameter D restricts the range of rays aperture may be on either side of the lens Lenses are typically spherical (easier to produce) 17

Adding a lens A lens focuses light onto the film There is a specific distance at which objects are in focus other points project to a circle of confusion in the image Changing the shape of the lens changes this distance 18

OPTICS OF THE EYE 19

OPTICS OF THE EYE The important optical structures in the eye are : the cornea (clear front surface of the eye), the iris (a sphincter muscle that determines the size of the pupil) and the lens (a flexible lens that can change shape to adjust for different object distances) The human optical system is approximately radially symmetric about a line running through the center of the cornea, pupil and lens optic axis 20

OPTICS OF THE EYE The optic axis is shifted approximately 5 degrees towards the temple Cornea is the main refractive surface of the eye as the index of refraction between the air and cornea is much bigger than between any other adjoining media within the eye Iris determines the size of the pupil. (Pupil is pigmented and determines the color of the eyes) Pupil serves as an aperture in the eye s optical system 21

OPTICS OF THE EYE Lens allows for variation in optical power by changing the curvature. This allows for focus of the retinal image while varying distance to object Greatest curvature for close objects; the least for distant objects Aqueous humor and vitreous humor provide nutrients to non-vascular structures within the eye and maintain the shape of the eye Transmittance of light varies with wavelengths and with age in young eye, the cornea absorbs most of radiation below 300nm and the lens filters out wavelength below 380nm 22

OPTICS OF THE EYE Retina receives wavelengths between 380-950nm As the lens yellows, transmittance of all wavelengths decreases and optical density of the eye increases In the visible range, 380-770nm, eye transmits more red light (longer wavelength) than blue light. 70-85% of white light reaches the retina 23

Adding a lens A lens focuses light onto the film There is a specific distance at which objects are in focus other points project to a circle of confusion in the image Changing the shape of the lens changes this distance 24

PHOTORECEPTORS Photoreceptors forms one of several layers of neurons in the retina, a thin layer of tissue that lines the inside of the eyeball Photoreceptors come in two basic shapes; the cylindrical-shaped receptors are known as rods, and the conical-shaped receptors are known as cones Rods and cones play very different functional roles in vision; specifically rods are responsible for encoding images under low light conditions and cones under high light conditions 25

PHOTORECEPTORS Rods are 1-2 microns in diameter; the cones are 2-3 microns in diameter in the fovea, but increase in diameter away from the fovea (No rods in the fovea) Cones are densely packed in the fovea and quickly decrease in density as a function of eccentricity Rods increase in density out to approximately 20 degree eccentricity, beyond which their density begins to decline 26

COLOR VISION Human visual system perceives the range of light wave frequencies as a smoothly varying rainbow of colors This range of light frequencies is the visual spectrum The eye s peripheral vision system only supports low resolution imaging but offers an excellent ability to detect movement through a wide range of illumination levels 27

COLOR VISION Peripheral vision provides very little color information The eye s high resolution color vision system has a much narrower angle of coverage This system can flexibly adapt to widely varying illumination colors and levels It evolved primarily as a daylight system and ceases to work well at very low illumination levels Rods and cones have different spectral sensitivities and different absolute sensitivities to light, so visual response is not the same over the retina 28

COLOR VISION Our eyes have three sets of sensors with peak sensitivities at light frequencies that we call red (580 nm), green (540 nm) and blue (450 nm) Our perception of which color we are seeing is determined by which combination of sensors are excited and by how much The spectral sensitivity of the typical human visual system is: 29

The human visual system has much greater sensitivity in low ambient illumination. The spectral sensitivity of the rods is: 30

FACTORS AFFECTING VISIBILITY Contrast relationship between the luminance of an object and the luminance of the background. These luminances can be affected by location of light sources and room reflectance (glare problems) Size larger the object, the easier it is to see. However, it is the size of the image on the retina, not the size of the object per se that is important. Therefore we bring smaller objects closer to the eye to see details Time there is a time lag in the photochemical processes of the retina, therefore the time available for viewing is important. When objects are briefly viewed we need bright light, when lots of time is available even small details can be seen 31

HUMAN VISUAL SYSTEMS Much of digital image processing is motivated by the capabilities of the human visual system Fully 2/3 of all sensory neurons in the human brain come from the two eyes Extremely large fraction of the cerebral cortex is devoted to basic visual processing 32

STEPS IN PROCESS OF VISION Can divide the process of vision in five distinct steps Formation of external visual stimuli (physics of light) Imaging process (optics of the eye) Visual sensors (photoreceptors) Low-level image processing (retinal mechanisms) Higher-level processes (central brain mechanisms) Lowest levels of visual processing such as image formation, sampling, and spatial filtering are relatively well understood Higher levels are less well understood In some sense, it is the higher levels of processing that most concerns artificial vision research 33

VISUAL TASKS AND PERFORMANCE Visual performance refers to the ability of a vision system to perform specific tasks identify a defective part, predict trajectory of a baseball Visual tasks that humans perform include: Simple detection and discrimination Object and/or material identification Navigation through environment Prediction of motion trajectories Estimation of physical dimensions Object manipulation 34

MULLER-LYER ILLUSION Vision is a learned sense relies on feedback for development and learning or tuning-up of the visual processing mechanisms Sometimes, providing feedback is inappropriate 35

Find the black dot 36

What is this? 37

Which lines are straight? 38

OPTICAL IMAGING GEOMETRY We will quantify how the geometry of a 3-D scene projects to the geometry of the image intensities: light source (point source) emitted rays image object sensing plate, emulsion, etc focal length lens reflected rays 39

PERSPECTIVE PROJECTION A reduction of dimensionality is projection - in this case perspective projection A precise geometric relationship between space (3-D) coordinates and image (2-D) coordinates exists under perspective projection We will require some coordinate systems Real-World Coordinates (X, Y, Z) denote points in 3-D space The origin (X, Y, Z) = (0, 0, 0) is taken to be the lens center Image Coordinates (x, y) denote points in the 2-D image The x - y plane is chosen parallel to the X - Y plane The optical axis passes through both origins 40

PIN-HOLE PROJECTION GEOMETRY Y Z Idealized "Pinhole" Camera Model f = focal length lens center (X, Y, Z) = (0, 0, 0) X image plane 41

UPRIGHT PROJECTION GEOMETRY Z Upright Projection Model Y y f = focal length x image plane lens center (X, Y, Z) = (0, 0, 0) X 42

PROJECTION This diagram shows all of the coordinate axes and labels y Z Y (X, Y, Z) = (A, B, C) C B f = focal length (x, y) = (a, b) image plane x (0, 0, 0) A X 43

PROJECTION (contd.) This equivalent simplified diagram shows only the relevant data relating (X, Y, Z) = (A, B, C) to its projection (x, y) = (a, b): A B C a b f 44

SIMILAR TRIANGLES Triangles are similar if their corresponding angles are equal: b a g a g b 45

SIMILAR TRIANGLES Similar Triangles Theorem - Similar triangles have their side lengths in the same proportions. a F D g b E a f d g b e D E = d e E F = e f F D = f d 46

SOLVING PERSPECTIVE PROJECTION Using similar triangles we can solve for the relationship between 3-D coordinates in space and 2-D image coordinates Redraw the imaging geometry once more, this time making apparent two pairs of similar triangles: A B B b C C a b f f A f a C 47

SOLVING PERSPECTIVE PROJECTION By the Similar Triangles Theorem, we conclude that (a, b) = a f = A C f C and OR b f = B C (A, B) = (fa/c, fb/c) 48

PERSPECTIVE PROJECTION EQUATION Thus the following relationship holds between 3-D space coordinates (X, Y, Z) and 2-D image coordinates (x, y) : (x, y) = f (X, Y) Z where f = focal length. The ratio f/z is the magnification factor, which varies with the range Z from the lens center to the object plane. 49

EXAMPLE There is a man standing 10 meters (m) in front of you He is 2 m tall The focal length of your eye is about 17 mm Question: What is the height H of his image on your retina? 2 m H 10 m 17 mm 50

ANSWER By similar triangles, 2 m 10 m = H 17 mm H = 3.4 mm 51