Digital Image Processing COSC 6380/4393

Similar documents
Digital Image Processing COSC 6380/4393

Digital Image Processing COSC 6380/4393

Digital Image Processing

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

CSE 527: Introduction to Computer Vision

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

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

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

Cameras. CSE 455, Winter 2010 January 25, 2010

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.

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

The Special Senses: Vision

Chapter 23 Study Questions Name: Class:

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

OPTICAL SYSTEMS OBJECTIVES

How do we see the world?

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

Image Formation and Capture

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

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

Digital Image Processing

CS6670: Computer Vision

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

VC 11/12 T2 Image Formation

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

Refraction, Lenses, and Prisms

Lecture 9. Lecture 9. t (min)

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

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

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

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

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

Image Processing - Intro. Tamás Szirányi

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

Introduction to Visual Perception & the EM Spectrum

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

DIGITAL IMAGE PROCESSING LECTURE # 4 DIGITAL IMAGE FUNDAMENTALS-I

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

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

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

VC 16/17 TP2 Image Formation

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

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

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

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

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

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

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

VC 14/15 TP2 Image Formation

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

Life Science Chapter 2 Study Guide

Chapter 25. Optical Instruments

III: Vision. Objectives:

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

Seeing and Perception. External features of the Eye

Section 1: Sound. Sound and Light Section 1

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

Chapter 36. Image Formation

LENSES. INEL 6088 Computer Vision

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

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

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

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

CPSC 425: Computer Vision

Unit 1: Image Formation

The eye & corrective lenses

Image Formation. World Optics Sensor Signal. Computer Vision. Introduction to. Light (Energy) Source. Surface Imaging Plane. Pinhole Lens.

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

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

VISUAL PHYSICS ONLINE DEPTH STUDY: ELECTRON MICROSCOPES

Chapter 36. Image Formation

Introduction

Optics Review (Chapters 11, 12, 13)

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

Refraction of Light. Refraction of Light

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Light Microscopy. Upon completion of this lecture, the student should be able to:

AP PSYCH Unit 4.2 Vision 1. How does the eye transform light energy into neural messages? 2. How does the brain process visual information? 3.

The Human Eye and a Camera 12.1

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

Image Formation. Dr. Gerhard Roth. COMP 4102A Winter 2015 Version 3

Vision. PSYCHOLOGY (8th Edition, in Modules) David Myers. Module 13. Vision. Vision

Chapter 25: Applied Optics. PHY2054: Chapter 25

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

Work environment. Vision. Human Millieu system. Retina anatomy. A human eyeball is like a simple camera! Lighting. Eye anatomy. Cones colours

CPSC 4040/6040 Computer Graphics Images. Joshua Levine

Lecture 8. Lecture 8. r 1

Frequencies and Color

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

How to Optimize the Sharpness of Your Photographic Prints: Part I - Your Eye and its Ability to Resolve Fine Detail

1. What are the components of your nervous system? 2. How do telescopes and human eyes work?

Visual Perception of Images

Applications of Optics

Transcription:

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

Instructor TA Digital Image Processing COSC 6380/4393 Pranav Mantini (pmantini@uh.edu) Email: pmantini@cs.uh.edu Office: PGH 550E Office Hours: TTh 2-3PM Arko Barman (abarman@uh.edu) Office: PGH 550E Office Hours: MW 2-3pm Shikha Tripathi (shikhatripathi005@gmail.com) Office: PGH 550E Office Hours: TTh 5-6PM 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? 7

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? 8

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

Shrinking the aperture 10

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

Shrinking the aperture 12

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

Lenses 14

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) 15

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 16

OPTICS OF THE EYE 17

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 18

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 19

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 21

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 22

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 23

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 24

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 25

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 26

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: 27

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

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 29

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 30

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 31

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 32

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 33

Find the black dot 34

What is this? 35

Which lines are straight? 36

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 37

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 38

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

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

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 41

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 42

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

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 44

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 45

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

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. 47

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 48

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