Chapter 2 - Fundamentals. Comunicação Visual Interactiva

Similar documents
DD2423 Image Analysis and Computer Vision IMAGE FORMATION. Computational Vision and Active Perception School of Computer Science and Communication

Digital Image Processing COSC 6380/4393

Laser sensors. Transmitter. Receiver. Basilio Bona ROBOTICA 03CFIOR

Introduction to Computer Vision. Introduction CMPSCI 591A/691A CMPSCI 570/670. Image Formation

IMAGING. Images are stored by capturing the binary data using some electronic devices (SENSORS)

Lecture 2 Image Processing and Filtering

COSC579: Scene Geometry. Jeremy Bolton, PhD Assistant Teaching Professor

Computer Vision. The image formation process

Basilio Bona DAUIN Politecnico di Torino

Digital Image Processing. Introduction

Digital Image Processing

Image Formation. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Understanding Variability

Introduction to Computer Vision. Human Eye Sampling

Introduction to Computer Graphics with WebGL

Homogeneous Coordinates. Lecture18: Camera Models. Representation of Line and Point in 2D. Cross Product. Overall scaling is NOT important.

Representing the World

Babu Madhav Institute of Information Technology Years Integrated M.Sc.(IT)(Semester - 7)

CS 548: Computer Vision and Image Processing Digital Image Basics. Spring 2016 Dr. Michael J. Reale

Capturing, Modeling, Rendering 3D Structures

Minimizing Noise and Bias in 3D DIC. Correlated Solutions, Inc.

3D graphics, raster and colors CS312 Fall 2010

Miniaturized Camera Systems for Microfactories

ECE-161C Cameras. Nuno Vasconcelos ECE Department, UCSD

CS201 Computer Vision Lect 4 - Image Formation

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo

What is an Image? Image Acquisition. Image Processing - Lesson 2. An image is a projection of a 3D scene into a 2D projection plane.

CS 563 Advanced Topics in Computer Graphics Camera Models. by Kevin Kardian

VC 16/17 TP5 Single Pixel Manipulation

Robotics - Projective Geometry and Camera model. Marcello Restelli

NAME :... Signature :... Desk no. :... Question Answer

Robot Vision: Camera calibration

EC-433 Digital Image Processing

UNIT-2 IMAGE REPRESENTATION IMAGE REPRESENTATION IMAGE SENSORS IMAGE SENSORS- FLEX CIRCUIT ASSEMBLY

Motivation. Gray Levels

Computer Vision Project-1

Computer Vision Course Lecture 02. Image Formation Light and Color. Ceyhun Burak Akgül, PhD cba-research.com. Spring 2015 Last updated 04/03/2015

Reflectance & Lighting

General Physics II. Mirrors & Lenses

Lecture 1 Image Formation.

Chapter 36. Image Formation

Computational Photography

Lecture #5. Point transformations (cont.) Histogram transformations. Intro to neighborhoods and spatial filtering

AP Physics: Curved Mirrors and Lenses

LIGHT & OPTICS. Fundamentals of Physics 2112 Chapter 34 1

Sampling and Reconstruction

Ulrik Söderström 17 Jan Image Processing. Introduction

Computer Graphics - Chapter 1 Graphics Systems and Models

The Lens. Refraction and The Lens. Figure 1a:

Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation

EE795: Computer Vision and Intelligent Systems

Fotonic E-series User Manual

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Introduction to Computer Vision. Week 3, Fall 2010 Instructor: Prof. Ko Nishino

Preparatory School to the Winter College on Optics in Imaging Science January Selected Topics of Fourier Optics Tutorial

Full Field Displacement and Strain Measurement. On a Charpy Specimen. Using Digital Image Correlation.

Motivation. Intensity Levels

Lecture PowerPoint. Chapter 25 Physics: Principles with Applications, 6 th edition Giancoli

Chapter 3: Intensity Transformations and Spatial Filtering

Interpolation is a basic tool used extensively in tasks such as zooming, shrinking, rotating, and geometric corrections.

Image formation. Thanks to Peter Corke and Chuck Dyer for the use of some slides

Ray Optics. Ray model Reflection Refraction, total internal reflection Color dispersion Lenses Image formation Magnification Spherical mirrors

RASNIK Image Processing with a Steepest Ascent Algorithm

Depth. Common Classification Tasks. Example: AlexNet. Another Example: Inception. Another Example: Inception. Depth

How to achieve this goal? (1) Cameras

The image is virtual and erect. When a mirror is rotated through a certain angle, the reflected ray is rotated through twice this angle.

Image Acquisition Image Digitization Spatial domain Intensity domain Image Characteristics

Lenses: Focus and Defocus

2012 Imaging Science Ph.D. Comprehensive Examination June 15, :00AM to 1:00PM IMPORTANT INSTRUCTIONS

Vision Review: Image Formation. Course web page:

Modeling Light. On Simulating the Visual Experience

Digital Image Processing COSC 6380/4393

CS6670: Computer Vision

Midterm Examination CS 534: Computational Photography

An introduction to 3D image reconstruction and understanding concepts and ideas

CIS 580, Machine Perception, Spring 2015 Homework 1 Due: :59AM

And. Modal Analysis. Using. VIC-3D-HS, High Speed 3D Digital Image Correlation System. Indian Institute of Technology New Delhi

Chapter 23. Geometrical Optics: Mirrors and Lenses and other Instruments

EXAM SOLUTIONS. Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006,

EE795: Computer Vision and Intelligent Systems

Cameras and Stereo CSE 455. Linda Shapiro

Image Analysis. 1. A First Look at Image Classification

2D Image Processing INFORMATIK. Kaiserlautern University. DFKI Deutsches Forschungszentrum für Künstliche Intelligenz

Image Acquisition + Histograms

Broad field that includes low-level operations as well as complex high-level algorithms

Motion. 1 Introduction. 2 Optical Flow. Sohaib A Khan. 2.1 Brightness Constancy Equation

EXAM SOLUTIONS. Computer Vision Course 2D1420 Thursday, 11 th of march 2003,

COMPUTER VISION. Dr. Sukhendu Das Deptt. of Computer Science and Engg., IIT Madras, Chennai

IMAGE ENHANCEMENT in SPATIAL DOMAIN by Intensity Transformations

CONSISTENT COLOR RESAMPLE IN DIGITAL ORTHOPHOTO PRODUCTION INTRODUCTION

Image Processing using LabVIEW. By, Sandip Nair sandipnair.hpage.com

UNIT VI OPTICS ALL THE POSSIBLE FORMULAE

Image Formation I Chapter 1 (Forsyth&Ponce) Cameras

Unit - I Computer vision Fundamentals

Computer Graphics. Texture Filtering & Sampling Theory. Hendrik Lensch. Computer Graphics WS07/08 Texturing

All human beings desire to know. [...] sight, more than any other senses, gives us knowledge of things and clarifies many differences among them.

IMPORTANT INSTRUCTIONS

Chapter 5 Extraction of color and texture Comunicação Visual Interactiva. image labeled by cluster index

INTRODUCTION TO IMAGE PROCESSING (COMPUTER VISION)

Topic 5 Image Compression

Transcription:

Chapter - Fundamentals Comunicação Visual Interactiva

Structure of the human eye (1) CVI

Structure of the human eye () Celular structure of the retina. On the right we can see one cone between two groups of rods. CVI 3

Structure of the human eye (3) CVI 4

Structure of the human eye (4) CVI 5

Photometric model source of light object on the surface sensor (camera) x, y ix, yrx y f, x y x, y 1 f x 0, y 0 1 0 i, Amount of illumination that strikes the object 0 r l MIN L MAX Amount of illumination reflected by the object L MIN l L MAX L, Interval variation of the light intensity 0, L where Normalization, where 0 corresponds to black and L-1 to white CVI 6

Artificial Systems for Image acquisition (1) Three main configurations of the sensors to transform illumination energy into digital images Cameras CCD (Charge-coupled devices) Typical dimensions: 6.4mm x 4.8mm ½ (640x480 ou 51x51 pixels) For each new image, the electric charges are cleaned and then the received light is integrated in a given time interval (controlled by the shutter) CVI In the final stage, the image plane (array D) is scaned. This process is accomplished line by 7 line.

Artificial systems for image acquisition () CCD vs CMOS Established technology; Specific technology; High production costs; High consumption; Higher sensibility; Sequential read; Recent technology; Standard IC technology; Cheaper; Less consumption; Lower sensibility; Pixel amplification; Random acess to pixels; Integration of other components in the same chip; CVI 8

Artificial systems for image acquisition (3) CVI 9

Bayer Filter (i) An example: CVI 10

RGB Filter at different time instants (ii) Original image Imagem chromatic distortion CVI 11

Artificial systems for image acquisition (4) CVI 1

Artificial systems for image acquisition (5) CVI 13

Image formation pin-hole Model perspective projection Dark camera ( câmara escura (século XVI) ) Translucent material CVI 14

Perspective effects The apparent size of the object depends on its distance Retina plan (inverted image) The projection of two parallel straight lines seems to converge to a point Virtual plan (non-inverted image) CVI 15

Perspective projection Mathematical model x y f f x z y z How to correlate the coordinates of a point in the real world, P, with the corresponding coordinates in the retina, P? ( x, y, z Confirmations: The points P, P and O (optical center) are collinear P ) P ( x, y, z) OP The point is projected on the sensor plan that is located at a distance f (focal distance) of the optical center z OP f CVI 16

Perspective Projection (II) When the pin-hole model is used, the relation between the Cartezian coordinates ( x, y, z) of a point in the reference of the camera C and the coordinates of the corresponding projection ( x', y') to the plan of the image is given by x f x z y' f With the assumption that the origin of the reference camera is coincident with the optical center of the camera, and the image origin is the main point From the expressions of x and y', it can be shown that the distance R between two points located in the plane at the distance z to the camera and the distance r, between the projection of these points in the image plan is given as r f R z y z CVI 17

Perspective Projection (III) From the expressions of x and y', it can be shown that the distance R between two located points in the plane at the distance z to the camera and the distance r, between the projection of these points in the image plan is given as R r f z CVI 18

Image plane Cameras with lenses (1) In practice we need to use lenses It acts as light collector Allows to adjust the focus of objects (changing f) Diffraction phenomena optical axis CVI f f z 19

Difraction Example CVI 0

Cameras with lenses () Deviations from the model Imperfections in the lens lead to a circle of confusion Sensor with discrete units; spatial integration leads to a blurring effect; limitation of the observed detail. Other problems Chromatic distortion wrap-around blooming Geometric distortion blooming CVI 1

Focal distance of the lens (1) Magnification factor m f z ' x x y y m Field of view space of the scene projected by the sensor It depends not only the focal distânce, f, but also of the sensor dimensions (usually 1/4, 1/3 ou 1/ ) When is large, the lens is said a wide angle lens When small the lens is telescopic H Sensor area L H H L 1 tan 1 tan H f L f CVI

Image plane Focal distance of the lens () Depth-of-field (profundidade de campo) P P optical axis p p' f f z CVI 3

CVI 4

Image plane Focal distance of the lens (3) Change of the depth-of-field Distance change between the lens and the image plan Deformation of the lens P P optical axis p p' f f z CVI 5

Sampling and quantization (1) CVI 6

Sampling and quantization () CVI 7

Representation of the digital images (1) f x, y f f f 0,0 f 0,1 f 0, N 1 1,0 f 1,1 f 1, N 1 M 1,0 f M 1,1 f M 1, N 1 CVI 8

Representation of the digital images () Gray level or number of colors k L Number of bits b M N k CVI 9

Spatial and gray level resolution CVI 30

Number of quantification levels CVI 31

Image interpolation (1)? Nearest neighbor Bilinear interpolation???? Bicubic interpolation v x y ax by cxy d, vx, y CVI 3 3 i0 3 j0 a ij x i y j

Image interpolation () CVI 33

Relationships between pixels (1) Neighborhood of a pixel Neighborhood 4 x y X X? X X N 4 x 1, y, x 1, y, x, y 1, x, y 1 Neighborhood 8 X X X X? X X X X N 8 x 1, y 1, x 1, y 1, x 1, y 1, x 1, y 1 CVI 34

Relationships between pixels () Path between x y e q s, t p, x 0, y0, x1, y1,, x n, y n where x 0, y0 x, y, xn, yn s, t x y, x y i 1,,, and i, i i1, i1 are neighbors, for n Connectivity Two pixels are connected if there exists a path that links them Region Set of connected pixels. CVI 35

Relationships between pixels(3) Euclidian distance City-block or D4 distance Chessboard or D8 distance y x p, t s q, w v z, 0, q p D p D q q p D,, z D q q p D z p D,,, Distance metrics for pixels, t y s x q p D e t y s x q p D, 4 t y s x q p D, max, 8 1 1 0 1 1 1 1 1 1 0 1 1 1 1 CVI 5 5 5 1 5 1 0 1 5 1 5 5 5 36

Arithmetic operations (1) Operations that are performed between corresponding pixels pairs (point-by-point operations) x, y f x, y gx y s, x, y f x, y gx y d, x, y f x, y gx y p, x, y f x, y gx y v, CVI 37

Arithmetic operations () CVI 38

Arithmetic operations (3) CVI 39

Arithmetic operations (4) CVI 40

Logical operations and sets (1) CVI 41

Logical operations and sets () CVI 4

Spatial operations (1) 1. Operation based on one pxel s T z. Operation based on neighbors S Neighbors of the pixel p x, y xy 3. Geometric transformations x, y T v, w CVI 43

Spatial operations Examples (1) Negative image CVI 44

Spatial operations Examples () Mean CVI 45

Spatial operations Examples (3) Afine transform x y 1 v w1t v w1 t t t 11 1 31 t t t 1 3 0 0 1 CVI 46

Types of Images Definition: a monochromatic image (gray level), I[r,c], assigns for each pixel one scalar value (intensity) Definition: a multiespectral imagem, M[r,c], assigns for each pixel one N-dimensional vector. In the case of color images, we have N=3 (RGB) Definition: a binary image, B[r,c], assigns each pixel the values of 0 or 1 Definition a label image (classes), L[r,c], assigns each pixel to a given label, that is chosen from a pre-defined alphabet of labels CVI 47

Image formats Header Data Use (or not) data compression algorithms. Compression without losses (lossless) or with losses (lossy) Example of a format CVI 48

Readings Chapter 1 e de R. Gonzalez, R. Woods, Digital Image Processing, 3ª edição, 008. Chapter de L. Shapiro, G. Stockman, Computer Vision, 001. CVI 49